diff options
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: misc.c,v 1.19 2002/03/04 17:27:39 stevesk Exp $"); | 26 | RCSID("$OpenBSD: misc.c,v 1.20 2002/12/13 10:03:15 markus Exp $"); |
27 | 27 | ||
28 | #include "misc.h" | 28 | #include "misc.h" |
29 | #include "log.h" | 29 | #include "log.h" |
@@ -105,7 +105,7 @@ set_nodelay(int fd) | |||
105 | return; | 105 | return; |
106 | } | 106 | } |
107 | opt = 1; | 107 | opt = 1; |
108 | debug("fd %d setting TCP_NODELAY", fd); | 108 | debug2("fd %d setting TCP_NODELAY", fd); |
109 | if (setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &opt, sizeof opt) == -1) | 109 | if (setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &opt, sizeof opt) == -1) |
110 | error("setsockopt TCP_NODELAY: %.100s", strerror(errno)); | 110 | error("setsockopt TCP_NODELAY: %.100s", strerror(errno)); |
111 | } | 111 | } |