index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/util.c | 2 |
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c index 57869d3b..cbc5bdfb 100644 --- a/lib/libalpm/util.c +++ b/lib/libalpm/util.c @@ -217,7 +217,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); |