libpkgconf: path: fix logic error in path relocation case when matching against a list (closes #129)

feature/tap-sh
William Pitcock 2017-09-08 18:27:04 -05:00
parent 9505213c1b
commit a6d6b88d14
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ pkgconf_path_match_list(const char *path, const pkgconf_list_t *dirlist)
pkgconf_strlcpy(relocated, path, sizeof relocated); pkgconf_strlcpy(relocated, path, sizeof relocated);
if (pkgconf_path_relocate(relocated, sizeof relocated)) if (pkgconf_path_relocate(relocated, sizeof relocated))
cpath = path; cpath = relocated;
PKGCONF_FOREACH_LIST_ENTRY(dirlist->head, n) PKGCONF_FOREACH_LIST_ENTRY(dirlist->head, n)
{ {