Commit Diff


commit - e28099979b03e56c094eb0e2f04137b96510f632
commit + ea1f05850232e766bb357cd6de49c4243bcf902b
blob - 12c72f92c8d5b7a19c19b7704634f5a46ed89f60
blob + bcfba4ab960fd7d539e4248572d69f7fc58159dc
--- lib/serve.c
+++ lib/serve.c
@@ -242,7 +242,7 @@ send_zero_refs(int outfd, int chattygot)
 	if (err)
 		return err;
 
-	return got_pkt_writepkt(outfd, buf, len, chattygot);
+	return got_pkt_writepkt(outfd, buf, len + capalen, chattygot);
 }
 
 static void