- djm@cvs.openbsd.org 2008/07/16 11:52:19

[channels.c]
     this loop index should be automatic, not static
This commit is contained in:
Damien Miller 2008-07-16 22:42:06 +10:00
parent b9d3bee003
commit 6ef17495e9
2 changed files with 6 additions and 3 deletions

View File

@ -8,6 +8,9 @@
[clientloop.c]
rename variable first_gc -> last_gc (since it is actually the last
in the list).
- djm@cvs.openbsd.org 2008/07/16 11:52:19
[channels.c]
this loop index should be automatic, not static
20080714
- (djm) OpenBSD CVS Sync
@ -4681,4 +4684,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@
$Id: ChangeLog,v 1.5086 2008/07/16 12:40:52 djm Exp $
$Id: ChangeLog,v 1.5087 2008/07/16 12:42:06 djm Exp $

View File

@ -1,4 +1,4 @@
/* $OpenBSD: channels.c,v 1.285 2008/07/13 22:13:07 djm Exp $ */
/* $OpenBSD: channels.c,v 1.286 2008/07/16 11:52:19 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@ -2789,7 +2789,7 @@ channel_clear_adm_permitted_opens(void)
void
channel_print_adm_permitted_opens(void)
{
static int i;
int i;
for (i = 0; i < num_adm_permitted_opens; i++)
if (permitted_adm_opens[i].host_to_connect != NULL)