regpkgdb rototill: renamed to pkgdb, improve the public API.

This commit is contained in:
Juan RP
2012-01-20 11:10:52 +01:00
parent 9a088937b5
commit 6940505de9
31 changed files with 561 additions and 447 deletions

View File

@ -54,10 +54,11 @@ check_repo_arch(const char *uri)
uname(&un);
b = basename(p);
free(p);
if ((strcmp(b, "noarch")) && (strcmp(b, un.machine)))
if ((strcmp(b, "noarch")) && (strcmp(b, un.machine))) {
free(p);
return false;
}
free(p);
return true;
}