Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix incrementation logic.
jlaffaye committed 15 years ago
commit 6a59807b023df35891084a1131ba55555571843b
parent c10a77ca2b2dae2bcc39b81df39535aa9f4a0533
1 file changed +1 -1
modified libpkg/util.c
@@ -38,9 +38,9 @@ array_append(struct array *a, void *d)
		a->cap *= 2;
		a->data = realloc(a->data, sizeof(void*) * a->cap);
	}
-
	a->len++;
	a->data[a->len] = d;
	a->data[a->len+1] = NULL;
+
	a->len++;
}

void