diff options
Diffstat (limited to 'lib/libalpm/util.c')
-rw-r--r-- | lib/libalpm/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |