From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: erik quanstrom Date: Mon, 21 Apr 2008 17:49:35 -0400 To: 9fans@9fans.net In-Reply-To: <20080421192856.74E5A5AD6@mail.bitblocks.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] telnet vs. godaddy whois Topicbox-Message-UUID: 971bd38e-ead3-11e9-9d60-3106f5b1d025 > I meant this: > /* Pull out data to send */ > bp = nil; > if(dsize != 0) { > bp = qcopy(s->wq, dsize, sent); > if(BLEN(bp) != dsize) { > seg.flags |= FIN; > dsize--; > } > if(sent+dsize == sndcnt) > seg.flags |= PSH; > } > > Seems clearer to me. And equivalent! I have been running > with this change since last Thursday. I don't stress my plan9 > machine all that much but replica pulls, ftp, web browsing, > nfs etc. have worked fine. i think they are not equivalent with these values BLEN(bp) != dsize dsize == 1 sent+0 == sndcnt - erik