summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2010-11-24 01:24:14 +0000
committerdjm <djm@openbsd.org>2010-11-24 01:24:14 +0000
commit6c70cf365032033c9ad93042dddf7bea562d17d9 (patch)
tree07628ec134fe365188b129fa4290a5e9a2f30a7e
parentfix spelling in an error message (diff)
downloadwireguard-openbsd-6c70cf365032033c9ad93042dddf7bea562d17d9.tar.xz
wireguard-openbsd-6c70cf365032033c9ad93042dddf7bea562d17d9.zip
remove a debug() that pollutes stderr on client connecting to a server
in debug mode (channel_close_fds is called transitively from the session code post-fork); bz#1719, ok dtucker
-rw-r--r--usr.bin/ssh/channels.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c
index 81a6198de4b..807559ef802 100644
--- a/usr.bin/ssh/channels.c
+++ b/usr.bin/ssh/channels.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: channels.c,v 1.309 2010/08/05 13:08:42 djm Exp $ */
+/* $OpenBSD: channels.c,v 1.310 2010/11/24 01:24:14 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -368,9 +368,6 @@ channel_close_fd(int *fdp)
static void
channel_close_fds(Channel *c)
{
- debug3("channel %d: close_fds r %d w %d e %d",
- c->self, c->rfd, c->wfd, c->efd);
-
channel_close_fd(&c->sock);
channel_close_fd(&c->rfd);
channel_close_fd(&c->wfd);