summaryrefslogtreecommitdiffstats
path: root/misc.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-12-23 02:44:36 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-12-23 02:44:36 +0000
commit1d568f9fce07fd6ea1f6d9f84cd204a17264e28e (patch)
tree2084cadaa0ce05bde8cbfed050eb35c3cd3cb3d2 /misc.c
parentfaa1ea8c20f6f234e14b192705ddaeb1bc67f7de (diff)
- markus@cvs.openbsd.org 2002/12/13 10:03:15
[channels.c misc.c sshconnect2.c] cleanup debug messages, more useful information for the client user.
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc.c b/misc.c
index e9fcef6c..512fb22f 100644
--- a/misc.c
+++ b/misc.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: misc.c,v 1.19 2002/03/04 17:27:39 stevesk Exp $");
+RCSID("$OpenBSD: misc.c,v 1.20 2002/12/13 10:03:15 markus Exp $");
#include "misc.h"
#include "log.h"
@@ -105,7 +105,7 @@ set_nodelay(int fd)
return;
}
opt = 1;
- debug("fd %d setting TCP_NODELAY", fd);
+ debug2("fd %d setting TCP_NODELAY", fd);
if (setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &opt, sizeof opt) == -1)
error("setsockopt TCP_NODELAY: %.100s", strerror(errno));
}