Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
msg needs initializing there.
Matthew Seaman committed 12 years ago
commit 13363ed3585b5bad045132241db967a77a87ac9f
parent 0f5f149
1 file changed +7 -0
modified pkg/event.c
@@ -203,6 +203,13 @@ event_callback(void *data, struct pkg_event *ev)
			    PKG_VERSION, &newversion,
			    PKG_OLD_VERSION, &version);
			nbdone++;
+

+
			msg = sbuf_new_auto();
+
			if (msg == NULL) {
+
				warn("sbuf_new_auto() failed");
+
				break;
+
			}
+

			if (nbactions > 0)
				sbuf_printf(msg, "[%d/%d] ", nbdone, nbactions);
			switch (pkg_version_cmp(version, newversion)) {