From: djm Date: Wed, 16 Jul 2008 11:52:19 +0000 (+0000) Subject: this loop index should be automatic, not static X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8edaf5f3c16ac8f960cec8d5eb30075fe9b72767;p=openbsd this loop index should be automatic, not static --- 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 * Copyright (c) 1995 Tatu Ylonen , 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)