commit d4628c48f397550f23bd780ae898625aacda2555 from: Mark Jamsek via: Thomas Adam date: Fri Feb 03 15:22:14 2023 UTC zap trailing whitespace commit - 28d1e31ec4a08d25cc98f69caa627207de484a7f commit + d4628c48f397550f23bd780ae898625aacda2555 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