hedaerlist: fix requirelist for files provided by multiple package with same name

This commit is contained in:
Silvan Calarco 2013-01-21 01:57:10 +01:00
parent 13bcb5ed4e
commit 12d4c38b30

View File

@ -1042,7 +1042,7 @@ addToHeaderList(struct configTag *ct,
} else {
/* check if the package is already providing it... */
for (k = 0; k < newheaderlist->file[j]->numproviders; k++) {
if (!strcmp(newheaderlist->file[j]->provider[k]->name,newheaderlist->name))
if (newheaderlist->file[j]->provider[k] == newheaderlist)
break;
}