summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-06-05 20:56:47 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-06-05 20:56:47 +0000
commit4c247550aec813ec389415c8d9f41ed1a9c0339a (patch)
tree7fb245957853aeb90c1c95988528fd9cbc58371b
parentc0dee1a1485aae5d4b62ee7742cea5f752392361 (diff)
- markus@cvs.openbsd.org 2001/05/28 23:25:24
[channels.c] cleanup, typo
-rw-r--r--ChangeLog5
-rw-r--r--channels.c7
2 files changed, 7 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index f0ffd3fa..37409979 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -69,6 +69,9 @@
[channels.c channels.h nchan.c]
undo broken channel fix and try a different one. there
should be still some select errors...
+ - markus@cvs.openbsd.org 2001/05/28 23:25:24
+ [channels.c]
+ cleanup, typo
20010528
- (tim) [conifgure.in] add setvbuf test needed for sftp-int.c
@@ -5499,4 +5502,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
-$Id: ChangeLog,v 1.1243 2001/06/05 20:52:50 mouring Exp $
+$Id: ChangeLog,v 1.1244 2001/06/05 20:56:47 mouring Exp $
diff --git a/channels.c b/channels.c
index 3eccb849..719dbff5 100644
--- a/channels.c
+++ b/channels.c
@@ -40,7 +40,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: channels.c,v 1.118 2001/05/28 23:14:49 markus Exp $");
+RCSID("$OpenBSD: channels.c,v 1.119 2001/05/28 23:25:24 markus Exp $");
#include <openssl/rsa.h>
#include <openssl/dsa.h>
@@ -312,12 +312,11 @@ channel_free(Channel *c)
for (n = 0, i = 0; i < channels_alloc; i++)
if (channels[i])
n++;
-
- debug("channel_free: channel %d: (%s) nchannels: %d", c->self,
+ debug("channel_free: channel %d: %s, nchannels %d", c->self,
c->remote_name ? c->remote_name : "???", n);
s = channel_open_message();
- debug3("channel_free: status: %s", c->self, s);
+ debug3("channel_free: status: %s", s);
xfree(s);
if (c->dettach_user != NULL) {