cli: remove strncmp() from modversion comparison

Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
master
Ariadne Conill 2023-10-09 06:35:04 +00:00
parent a4033ab9c6
commit 97d907ba93
1 changed files with 1 additions and 1 deletions

View File

@ -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) {