diff options
author | Dan McGee <dan@archlinux.org> | 2011-11-07 09:16:10 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-11-07 09:16:10 -0600 |
commit | 1a994bf180003b814b135a5acd6f3e2aa67121fc (patch) | |
tree | 98f542ca7515e911f2bbd6549ef62f78f3269fe7 /lib/libalpm/util.c | |
parent | 90477f156c18659eee6e8be75122169060309990 (diff) | |
parent | e7b56f48d704f57f023d7ca3cdc9d492fb31a9cb (diff) | |
download | pacman-1a994bf180003b814b135a5acd6f3e2aa67121fc.tar.xz |
Merge branch 'maint'
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); |