index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Chantry Xavier <shiningxc@gmail.com> | 2008-01-14 20:28:29 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-14 22:03:03 -0600 |
commit | 0c5b68877b107f4844f29eb77a9ea5bf7b73fe01 (patch) | |
tree | 6908dd557033cc9547a060b0903ebf673f870d24 /lib/libalpm/db.c | |
parent | 6eee9e987a2dc6eba183f61fb596b7e0b8cc1645 (diff) |
-rw-r--r-- | lib/libalpm/db.c | 2 |
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index d8e770b8..1485c34a 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -650,7 +650,7 @@ int _alpm_prov_cmp(const void *provision, const void *needle) char *tmpptr; char *provname = strdup(provision); int retval = 0; - tmpptr = strchr(provname, ' '); + tmpptr = strchr(provname, '='); if(tmpptr != NULL) { /* provision-version */ *tmpptr='\0'; |