Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
pkg_jobs_add could not be used when the jobs is already resolved
Baptiste Daroussin committed 14 years ago
commit c3c3579ba028c3bc3ec4d4800c49ed3039829e8f
parent 037bd056a1ab010a6f1f11f32f944decd94d95f2
1 file changed +1 -0
modified libpkg/pkg_jobs.c
@@ -48,6 +48,7 @@ pkg_jobs_add(struct pkg_jobs *j, struct pkg *pkg)
{
	assert(j != NULL);
	assert(pkg != NULL);
+
	assert(j->resolved != 1);

	STAILQ_INSERT_TAIL(&j->jobs, pkg, next);