projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove trailing spaces
[gnulib.git]
/
tests
/
test-sys_select.c
diff --git
a/tests/test-sys_select.c
b/tests/test-sys_select.c
index
053b6c6
..
a4e0f3e
100644
(file)
--- a/
tests/test-sys_select.c
+++ b/
tests/test-sys_select.c
@@
-135,10
+135,10
@@
connect_to_socket (int blocking)
#ifdef WIN32_NATIVE
unsigned long iMode = 1;
ioctl (s, FIONBIO, (char *) &iMode);
-
+
#elif defined F_GETFL
int oldflags = fcntl (s, F_GETFL, NULL);
-
+
if (!(oldflags & O_NONBLOCK))
fcntl (s, F_SETFL, oldflags | O_NONBLOCK);
#endif