summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/channels.c b/channels.c
index 225551e6a..5b7d6d649 100644
--- a/channels.c
+++ b/channels.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: channels.c,v 1.288 2008/11/11 03:55:11 stevesk Exp $ */ 1/* $OpenBSD: channels.c,v 1.289 2008/12/02 19:09:38 markus Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -2377,18 +2377,18 @@ channel_input_status_confirm(int type, u_int32_t seq, void *ctxt)
2377{ 2377{
2378 Channel *c; 2378 Channel *c;
2379 struct channel_confirm *cc; 2379 struct channel_confirm *cc;
2380 int remote_id; 2380 int id;
2381 2381
2382 /* Reset keepalive timeout */ 2382 /* Reset keepalive timeout */
2383 keep_alive_timeouts = 0; 2383 keep_alive_timeouts = 0;
2384 2384
2385 remote_id = packet_get_int(); 2385 id = packet_get_int();
2386 packet_check_eom(); 2386 packet_check_eom();
2387 2387
2388 debug2("channel_input_status_confirm: type %d id %d", type, remote_id); 2388 debug2("channel_input_status_confirm: type %d id %d", type, id);
2389 2389
2390 if ((c = channel_lookup(remote_id)) == NULL) { 2390 if ((c = channel_lookup(id)) == NULL) {
2391 logit("channel_input_status_confirm: %d: unknown", remote_id); 2391 logit("channel_input_status_confirm: %d: unknown", id);
2392 return; 2392 return;
2393 } 2393 }
2394 ; 2394 ;