- markus@cvs.openbsd.org 2001/05/28 23:25:24
[channels.c] cleanup, typo
This commit is contained in:
parent
c0dee1a148
commit
4c247550ae
|
@ -69,6 +69,9 @@
|
||||||
[channels.c channels.h nchan.c]
|
[channels.c channels.h nchan.c]
|
||||||
undo broken channel fix and try a different one. there
|
undo broken channel fix and try a different one. there
|
||||||
should be still some select errors...
|
should be still some select errors...
|
||||||
|
- markus@cvs.openbsd.org 2001/05/28 23:25:24
|
||||||
|
[channels.c]
|
||||||
|
cleanup, typo
|
||||||
|
|
||||||
20010528
|
20010528
|
||||||
- (tim) [conifgure.in] add setvbuf test needed for sftp-int.c
|
- (tim) [conifgure.in] add setvbuf test needed for sftp-int.c
|
||||||
|
@ -5499,4 +5502,4 @@
|
||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- 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 $
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#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/rsa.h>
|
||||||
#include <openssl/dsa.h>
|
#include <openssl/dsa.h>
|
||||||
|
@ -312,12 +312,11 @@ channel_free(Channel *c)
|
||||||
for (n = 0, i = 0; i < channels_alloc; i++)
|
for (n = 0, i = 0; i < channels_alloc; i++)
|
||||||
if (channels[i])
|
if (channels[i])
|
||||||
n++;
|
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);
|
c->remote_name ? c->remote_name : "???", n);
|
||||||
|
|
||||||
s = channel_open_message();
|
s = channel_open_message();
|
||||||
debug3("channel_free: status: %s", c->self, s);
|
debug3("channel_free: status: %s", s);
|
||||||
xfree(s);
|
xfree(s);
|
||||||
|
|
||||||
if (c->dettach_user != NULL) {
|
if (c->dettach_user != NULL) {
|
||||||
|
|
Loading…
Reference in New Issue