revert erroneous checkin

This commit is contained in:
Christopher Faylor 2004-10-20 01:03:55 +00:00
parent f054a20f1a
commit d134b48fd6

View File

@ -1347,13 +1347,10 @@ start_thread_socket (select_record *me, select_stuff *stuff)
if (_my_tls.locals.exitsock != INVALID_SOCKET) if (_my_tls.locals.exitsock != INVALID_SOCKET)
{ {
if (!si->exitsock) char buf[1];
{ si->exitsock = _my_tls.locals.exitsock;
char buf[1]; select_printf ("read a byte from %p", si->exitsock);
si->exitsock = _my_tls.locals.exitsock; recv (si->exitsock, buf, 1, 0);
select_printf ("read a byte from %p", si->exitsock);
recv (si->exitsock, buf, 1, 0);
}
} }
else else
{ {