"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Mark Jamsek <mark@jamsek.com>
Subject:
Re: gotd: handle early client disconnections
To:
Omar Polo <op@omarpolo.com>
Cc:
gameoftrees@openbsd.org
Date:
Mon, 23 Jan 2023 16:09:29 +1100

Download raw body.

Thread
On 23-01-22 02:50PM, Omar Polo wrote:
> On 2023/01/23 00:08:40 +1100, Mark Jamsek <mark@jamsek.com> 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 :)

Oh whoops, I've been doing it wrong! I always thought it was [1,80] not
[1,80)  :)

> anyway this slipped in, i've reflowed it without much thinking while
> adjusting the code...
> 

-- 
Mark Jamsek <fnc.bsdbox.org>
GPG: F2FF 13DE 6A06 C471 CA80  E6E2 2930 DC66 86EE CF68