commit da76b65174488c46bf80a5af7896dfdc3ae60fee from: Mark Jamsek date: Fri Feb 03 03:19:44 2023 UTC zap trailing whitespace commit - a755a22cd4eca6783f283b88d3734fc2ce087bb7 commit + da76b65174488c46bf80a5af7896dfdc3ae60fee blob - 9bea56cb0ddb3074ed1ef1574a25a359a1b5eb73 blob + 0700417f4a9557b15e2d4bbbdb112efdb79a21fa --- gotd/imsg.c +++ gotd/imsg.c @@ -71,7 +71,7 @@ gotd_imsg_flush(struct imsgbuf *ibuf) break; } } - } + } return err; } blob - f5c8a7335929e0830dbfcf9ac56d33e3d8f13e84 blob + 6e5a1fefead2c988b80631336d106254007434f7 --- gotd/session.c +++ gotd/session.c @@ -1313,7 +1313,7 @@ recv_repo_child(struct imsg *imsg) else return got_error_msg(GOT_ERR_PRIVSEP_MSG, "bad child process type"); - + if (imsg->fd == -1) return got_error(GOT_ERR_PRIVSEP_NO_FD); @@ -1414,7 +1414,7 @@ done: /* This pipe is dead. Remove its event handler */ event_del(&iev->ev); event_loopexit(NULL); - } + } } void