cli: remove strncmp() from modversion comparison
Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>master
parent
a4033ab9c6
commit
97d907ba93
|
@ -306,7 +306,7 @@ apply_modversion(pkgconf_client_t *client, pkgconf_pkg_t *world, void *data, int
|
|||
pkgconf_dependency_t *dep = world_iter->data;
|
||||
pkgconf_pkg_t *pkg = dep->match;
|
||||
|
||||
if (strncmp(pkg->why, queue_node->package, strlen(pkg->why)))
|
||||
if (strcmp(pkg->why, queue_node->package))
|
||||
continue;
|
||||
|
||||
if (pkg->version != NULL) {
|
||||
|
|
Loading…
Reference in New Issue