revert erroneous checkin
This commit is contained in:
parent
f054a20f1a
commit
d134b48fd6
@ -1346,15 +1346,12 @@ 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];
|
char buf[1];
|
||||||
si->exitsock = _my_tls.locals.exitsock;
|
si->exitsock = _my_tls.locals.exitsock;
|
||||||
select_printf ("read a byte from %p", si->exitsock);
|
select_printf ("read a byte from %p", si->exitsock);
|
||||||
recv (si->exitsock, buf, 1, 0);
|
recv (si->exitsock, buf, 1, 0);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
si->exitsock = _my_tls.locals.exitsock = socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP);
|
si->exitsock = _my_tls.locals.exitsock = socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user