summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2008-12-08 09:55:25 +1100
committerDamien Miller <djm@mindrot.org>2008-12-08 09:55:25 +1100
commit16a73076b7a6e23989b76621e36c7adf8a587432 (patch)
treeb00ccce9d2c0e7844c50c6f3b9c0f89713ba2774
parent5a33ec68bc7cf35e4ad5f19e101fd41266ea9e18 (diff)
- markus@cvs.openbsd.org 2008/12/02 19:09:38
[channels.c] s/remote_id/id/ to be more consistent with other code; ok djm@
-rw-r--r--ChangeLog5
-rw-r--r--channels.c12
2 files changed, 10 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index d601d8d72..0c986d4c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,9 @@
13 [serverloop.c] 13 [serverloop.c]
14 backout 1.149, since it's not necessary and openssh clients send 14 backout 1.149, since it's not necessary and openssh clients send
15 broken CHANNEL_FAILURE/SUCCESS messages since about 2004; ok djm@ 15 broken CHANNEL_FAILURE/SUCCESS messages since about 2004; ok djm@
16 - markus@cvs.openbsd.org 2008/12/02 19:09:38
17 [channels.c]
18 s/remote_id/id/ to be more consistent with other code; ok djm@
16 19
1720081201 2020081201
18 - (dtucker) [contrib/cygwin/{Makefile,ssh-host-config}] Add new doc files 21 - (dtucker) [contrib/cygwin/{Makefile,ssh-host-config}] Add new doc files
@@ -4961,5 +4964,5 @@
4961 OpenServer 6 and add osr5bigcrypt support so when someone migrates 4964 OpenServer 6 and add osr5bigcrypt support so when someone migrates
4962 passwords between UnixWare and OpenServer they will still work. OK dtucker@ 4965 passwords between UnixWare and OpenServer they will still work. OK dtucker@
4963 4966
4964$Id: ChangeLog,v 1.5150 2008/12/07 22:55:02 djm Exp $ 4967$Id: ChangeLog,v 1.5151 2008/12/07 22:55:25 djm Exp $
4965 4968
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 ;