projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
server: use the wrapped MSG_DONTWAIT
[fio.git]
/
server.c
diff --git
a/server.c
b/server.c
index f6f34418e8001a1df4f712d20efb319b41d29eb7..ab4069c7c7b31faf716f92890da0f35cbf5359e3 100644
(file)
--- a/
server.c
+++ b/
server.c
@@
-269,7
+269,7
@@
static int fio_recv_data(int sk, void *p, unsigned int len, bool wait)
if (wait)
flags = MSG_WAITALL;
else
- flags = MSG_DONTWAIT;
+ flags =
OS_
MSG_DONTWAIT;
do {
int ret = recv(sk, p, len, flags);