Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix pkg_delannotations
Baptiste Daroussin committed 12 years ago
commit 0e7df4457c313b505bebd376f4f4a90889e286e9
parent 7d06017
1 file changed +1 -1
modified libpkg/pkg.c
@@ -1133,7 +1133,7 @@ pkg_delannotation(struct pkg *pkg, const char *tag)
	assert(pkg != NULL);
	assert(tag != NULL);

-
	an = ucl_object_pop_key(pkg->annotations, tag);
+
	an = ucl_object_pop_keyl(pkg->annotations, tag, strlen(tag));
	if (an != NULL) {
		ucl_object_unref(an);
		return (EPKG_OK);