On Sun, Aug 13, 2017 at 11:03:02PM -0400, Ted Unangst wrote: > here's a new version that pulls the check higher.
OK bluhm@ > - if (so->so_type == SOCK_SEQPACKET) > - flags = MSG_EOR; > - else > - flags = 0; > + flags = 0; > > error = sosend(so, sendnam, NULL, top, NULL, flags); You could kill the flags variable and just pass 0.
