Return to channels.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.209, 2004/08/11 21:43:04 | version 1.210, 2004/08/23 11:48:47 | ||
---|---|---|---|
|
|
||
if (c != NULL && c->type == SSH_CHANNEL_RPORT_LISTENER && | if (c != NULL && c->type == SSH_CHANNEL_RPORT_LISTENER && | ||
strncmp(c->path, host, sizeof(c->path)) == 0 && | strncmp(c->path, host, sizeof(c->path)) == 0 && | ||
c->listening_port == port) { | c->listening_port == port) { | ||
debug2("%s: close clannel %d", __func__, i); | debug2("%s: close channel %d", __func__, i); | ||
channel_free(c); | channel_free(c); | ||
found = 1; | found = 1; | ||
} | } |