Commit Diff


commit - 1c4cdd89292391629861b9a13688e94879efe2ea
commit + 40e3cb72953003915373ea79578a46eb01238c15
blob - 30756b439f8433c9f8b8f391bd93db8ddd6feb9f
blob + 612026c469e1b0b43b39ffebdb8592d4b22c474f
--- libexec/got-read-pack/got-read-pack.c
+++ libexec/got-read-pack/got-read-pack.c
@@ -827,7 +827,7 @@ raw_object_request(struct imsg *imsg, struct imsgbuf *
 	if (err)
 		goto done;
 
-	err = got_privsep_send_raw_obj(ibuf, size, obj->hdrlen, buf);
+	err = got_privsep_send_raw_obj(ibuf, obj->size, obj->hdrlen, buf);
 done:
 	free(buf);
 	if (outfile && fclose(outfile) == EOF && err == NULL)