index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/util.c | 2 |
diff --git a/src/pacman/util.c b/src/pacman/util.c index 05873c99..a566f4a7 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -729,7 +729,7 @@ void signature_display(const char *title, alpm_siglist_t *siglist) name = result->key.uid ? result->key.uid : result->key.fingerprint; ret = pm_asprintf(&sigline, _("%s, %s from \"%s\""), status, validity, name); - if(ret < 1) { + if(ret == -1) { pm_fprintf(stderr, ALPM_LOG_ERROR, _("failed to allocate string\n")); continue; } |