projects
/
trust_router.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1f2659
)
Fix fcntl call to set socket to non-blocking mode.
author
Jennifer Richards
<jennifer@painless-security.com>
Wed, 18 May 2016 14:04:29 +0000
(10:04 -0400)
committer
Jennifer Richards
<jennifer@painless-security.com>
Wed, 18 May 2016 14:04:29 +0000
(10:04 -0400)
tid/tids.c
patch
|
blob
|
history
diff --git
a/tid/tids.c
b/tid/tids.c
index
2ebe887
..
02bc6f6
100644
(file)
--- a/
tid/tids.c
+++ b/
tid/tids.c
@@
-399,7
+399,7
@@
int tids_get_listener(TIDS_INSTANCE *tids,
tr_debug("tids_get_listener: Opened port %d.", port);
/* make this socket non-blocking */
- if (0 != fcntl(listen, F_SETF
D
, O_NONBLOCK)) {
+ if (0 != fcntl(listen, F_SETF
L
, O_NONBLOCK)) {
tr_debug("tids_get_listener: Error setting O_NONBLOCK.");
close(listen);
listen=-1;