summaryrefslogtreecommitdiffstats
path: root/channels.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-02-05 12:22:08 +1100
committerDamien Miller <djm@mindrot.org>2002-02-05 12:22:08 +1100
commit50e884d12512ddb500c09ac3dbad67094fe93f09 (patch)
treef95f4ddc6c15536ca331dd16010634783bd1474c /channels.c
parentc7ef63dd41aa3880271c5ec5f61dc38e6d74f900 (diff)
- markus@cvs.openbsd.org 2002/02/03 17:55:55
[channels.c channels.h] remove unused channel_input_channel_request
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c27
1 files changed, 1 insertions, 26 deletions
diff --git a/channels.c b/channels.c
index f015a049..568779df 100644
--- a/channels.c
+++ b/channels.c
@@ -39,7 +39,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: channels.c,v 1.163 2002/01/27 14:57:46 stevesk Exp $");
+RCSID("$OpenBSD: channels.c,v 1.164 2002/02/03 17:55:55 markus Exp $");
#include "ssh.h"
#include "ssh1.h"
@@ -1941,31 +1941,6 @@ channel_input_open_failure(int type, u_int32_t seq, void *ctxt)
}
void
-channel_input_channel_request(int type, u_int32_t seq, void *ctxt)
-{
- int id;
- Channel *c;
-
- id = packet_get_int();
- c = channel_lookup(id);
-
- if (c == NULL ||
- (c->type != SSH_CHANNEL_OPEN && c->type != SSH_CHANNEL_LARVAL))
- packet_disconnect("Received request for "
- "non-open channel %d.", id);
- if (c->cb_fn != NULL && c->cb_event == type) {
- debug2("callback start");
- c->cb_fn(c->self, c->cb_arg);
- debug2("callback done");
- } else {
- char *service = packet_get_string(NULL);
- debug("channel %d: rcvd request for %s", c->self, service);
- debug("cb_fn %p cb_event %d", c->cb_fn , c->cb_event);
- xfree(service);
- }
-}
-
-void
channel_input_window_adjust(int type, u_int32_t seq, void *ctxt)
{
Channel *c;