commit a2c12f7b814f145ba507667dbf640253c87c3460 from: Omar Polo date: Fri Jan 27 08:43:11 2023 UTC delete trailing whitespaces commit - c300209f7d817ab1023a66ece541a77043d25c95 commit + a2c12f7b814f145ba507667dbf640253c87c3460 blob - 7239625916f46e43ce48da2daf7a77a820f0355b blob + 98f9aeb0236ac62592fd35493c4c5c761a8445d6 --- lib/serve.c +++ lib/serve.c @@ -291,7 +291,7 @@ announce_refs(int outfd, struct imsgbuf *ibuf, int cli sizeof(lsref.repo_name)) return got_error(GOT_ERR_NO_SPACE); lsref.client_is_reading = client_is_reading; - + if (imsg_compose(ibuf, GOTD_IMSG_LIST_REFS, 0, 0, -1, &lsref, sizeof(lsref)) == -1) return got_error_from_errno("imsg_compose LIST_REFS"); @@ -1179,7 +1179,7 @@ recv_packfile(struct imsg *imsg, int infd) if (imsg->fd == -1) return got_error(GOT_ERR_PRIVSEP_NO_FD); - + packfd = imsg->fd; while (!pack_done) { ssize_t r = 0;