diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2008-07-16 11:52:20 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2008-07-16 11:52:20 +0000 |
commit | c14e6f889134c479a3eaea906a519290bffaf51e (patch) | |
tree | 0464fed2fc1ffca2c9e488d14dbdd93a9d26c42b /usr.bin/ssh | |
parent | 051f0a40861c69b19ad21cf285e52d41c6489393 (diff) |
this loop index should be automatic, not static
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/channels.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c index 0f36df4596c..65cb6ce579c 100644 --- a/usr.bin/ssh/channels.c +++ b/usr.bin/ssh/channels.c @@ -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 @@ -2761,7 +2761,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) |