index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-11-01 19:17:26 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-11-01 19:17:26 -0500 |
commit | 1953fe43689054aded03eb166f4f987e7cc0dccd (patch) | |
tree | 4ff0a94ee4ac463e98ccef4717ba7494abeb0c21 | |
parent | d98ff04cc933253b7221fc170813f7d2365d3289 (diff) |
-rw-r--r-- | lib/libalpm/util.c | 2 |
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c index 12286c6a..fbb320ef 100644 --- a/lib/libalpm/util.c +++ b/lib/libalpm/util.c @@ -221,7 +221,7 @@ char *_alpm_strtrim(char *str) size_t _alpm_strip_newline(char *str) { size_t len; - if(str == '\0') { + if(*str == '\0') { return 0; } len = strlen(str); |