From: Omar Polo Subject: Re: gotd: handle early client disconnections To: Mark Jamsek Cc: gameoftrees@openbsd.org Date: Sun, 22 Jan 2023 14:50:28 +0100 On 2023/01/23 00:08:40 +1100, Mark Jamsek wrote: > On 23-01-22 12:48PM, Omar Polo wrote: > > if (strcmp(command, GOT_SERVE_CMD_FETCH) == 0) > > err = serve_read(infd, outfd, gotd_sock, repo_path, chattygot); > > else if (strcmp(command, GOT_SERVE_CMD_SEND) == 0) > > - err = serve_write(infd, outfd, gotd_sock, repo_path, chattygot); > > + err = serve_write(infd, outfd, gotd_sock, repo_path, > > + chattygot); > > I can't see why the line has been wrapped; chattygot fits on the above > line? the above line is 79 columns, that was 80 :) anyway this slipped in, i've reflowed it without much thinking while adjusting the code...