Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
regression: do not append NULL but the package to the list of packages
Baptiste Daroussin committed 3 years ago
commit 3322293b9c73cfe15ccd4881323e84d5efbecf86
parent 399d7a2
1 file changed +1 -1
modified src/create.c
@@ -105,8 +105,8 @@ pkg_create_matches(int argc, char **argv, match_t match, struct pkg_create *pc)

		foundone = false;
		while ((ret = pkgdb_it_next(it, &pkg, query_flags)) == EPKG_OK) {
-
			pkg = NULL;
			tll_push_back(pkg_head, pkg);
+
			pkg = NULL;
			foundone = true;
		}
		if (!foundone) {