diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-08-31 08:02:08 +0000 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-08-31 08:02:08 +0000 |
commit | fb4143175b2511cbc915b21ea86e08a3700539f7 (patch) | |
tree | 83972ccd8e3debe62f40afae50a3eb27476a0d40 /src/tools/oping/oping_server.c | |
parent | 399164eff1c6d07056ec93e3afd4079611cf9c7b (diff) | |
parent | 4060efec26115dbb9e68da67bc482a12b4f80ea8 (diff) | |
download | ouroboros-fb4143175b2511cbc915b21ea86e08a3700539f7.tar.gz ouroboros-fb4143175b2511cbc915b21ea86e08a3700539f7.zip |
Merged in dstaesse/ouroboros/be-fccntl (pull request #583)
lib: Add fccntl configuration command
Diffstat (limited to 'src/tools/oping/oping_server.c')
-rw-r--r-- | src/tools/oping/oping_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/oping/oping_server.c b/src/tools/oping/oping_server.c index 6a535caf..0371f90f 100644 --- a/src/tools/oping/oping_server.c +++ b/src/tools/oping/oping_server.c @@ -130,7 +130,7 @@ void * accept_thread(void * o) server.times[fd] = now; pthread_mutex_unlock(&server.lock); - flow_set_flags(fd, FLOW_O_NONBLOCK | FLOW_O_RDWR); + fccntl(fd, FLOWSFLAGS, FLOWFNONBLOCK | FLOWFRDWR); } return (void *) 0; |