Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-10-20 05:03:55 +0400
committerChristopher Faylor <me@cgf.cx>2004-10-20 05:03:55 +0400
commitd134b48fd6f73f3d9b9d261103f0e4ecd0f9f6e1 (patch)
tree3d2d4678639eb76b39ad6d9ba32df4318ab53def /winsup/cygwin/select.cc
parentf054a20f1ab3cedd4eed61c227e3b90bad96c93d (diff)
revert erroneous checkin
Diffstat (limited to 'winsup/cygwin/select.cc')
-rw-r--r--winsup/cygwin/select.cc11
1 files changed, 4 insertions, 7 deletions
diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc
index ffddf6204..b85e0bd56 100644
--- a/winsup/cygwin/select.cc
+++ b/winsup/cygwin/select.cc
@@ -1347,13 +1347,10 @@ start_thread_socket (select_record *me, select_stuff *stuff)
if (_my_tls.locals.exitsock != INVALID_SOCKET)
{
- if (!si->exitsock)
- {
- char buf[1];
- si->exitsock = _my_tls.locals.exitsock;
- select_printf ("read a byte from %p", si->exitsock);
- recv (si->exitsock, buf, 1, 0);
- }
+ char buf[1];
+ si->exitsock = _my_tls.locals.exitsock;
+ select_printf ("read a byte from %p", si->exitsock);
+ recv (si->exitsock, buf, 1, 0);
}
else
{