diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-12-12 15:20:07 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-12-12 15:20:07 +0100 |
commit | fc8d30f2d6e9f3e463aff81a1630ff56f9463a22 (patch) | |
tree | d91c005451a74822516669f3f7cc3ade34971abb /src/tools/oping/oping_server.c | |
parent | ed6ac5db8474edabe83f0cdcbe7f258f0859ea41 (diff) | |
parent | f8c14e0246a6c9cb5e8ff47869b5968abb63f010 (diff) | |
download | ouroboros-fc8d30f2d6e9f3e463aff81a1630ff56f9463a22.tar.gz ouroboros-fc8d30f2d6e9f3e463aff81a1630ff56f9463a22.zip |
Merged in dstaesse/ouroboros/be-timeout (pull request #323)
Be timeout
Diffstat (limited to 'src/tools/oping/oping_server.c')
-rw-r--r-- | src/tools/oping/oping_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/oping/oping_server.c b/src/tools/oping/oping_server.c index 8d7ab1db..63fca567 100644 --- a/src/tools/oping/oping_server.c +++ b/src/tools/oping/oping_server.c @@ -115,7 +115,7 @@ void * accept_thread(void * o) { int fd = 0; struct timespec now = {0, 0}; - struct qos_spec qs; + qosspec_t qs; (void) o; @@ -143,7 +143,7 @@ void * accept_thread(void * o) server.times[fd] = now; pthread_mutex_unlock(&server.lock); - flow_cntl(fd, FLOW_F_SETFL, FLOW_O_NONBLOCK | FLOW_O_RDWR); + flow_set_flags(fd, FLOW_O_NONBLOCK | FLOW_O_RDWR); } return (void *) 0; |