projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a971db
)
server: use the wrapped MSG_DONTWAIT
author
Jens Axboe
<axboe@fb.com>
Fri, 22 Jan 2016 18:49:57 +0000
(11:49 -0700)
committer
Jens Axboe
<axboe@fb.com>
Fri, 22 Jan 2016 18:49:57 +0000
(11:49 -0700)
Signed-off-by: Jens Axboe <axboe@fb.com>
server.c
patch
|
blob
|
blame
|
history
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);