Commit 5a48964292096032ae4d1425bdf8ce32c465fa62

Stefan Sperling 2020-03-19T16:56:51

initialize pack file size output paramter of got_privsep_recv_fetch_progress()

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/lib/privsep.c b/lib/privsep.c
index d53de88..03fb686 100644
--- a/lib/privsep.c
+++ b/lib/privsep.c
@@ -637,6 +637,7 @@ got_privsep_recv_fetch_progress(int *done, struct got_object_id **id,
 	*id = NULL;
 	*refname = NULL;
 	*server_progress = NULL;
+	*packfile_size = 0;
 
 	err = got_privsep_recv_imsg(&imsg, ibuf, 0);
 	if (err)