From 4823cf5a4ca87110fc06c5c01e13e89bc94f0d62 Mon Sep 17 00:00:00 2001 From: iwanttokeepanon Date: Thu, 19 Sep 2002 03:48:29 +0000 Subject: [PATCH] Just moved "int i" up 3 lines in function unload_configfile, out of the "ifdef FEATURE_ACL" clause. I disable ACL and it was not compiling because "int i" was ifdef(d) out. I noticed this in the past, but am just now in a spot where I can change/commit stuff ... long live broadband! --- src/loadcfg.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/loadcfg.c b/src/loadcfg.c index 15c78a4e..d4560c11 100644 --- a/src/loadcfg.c +++ b/src/loadcfg.c @@ -1,7 +1,7 @@ -const char loadcfg_rcs[] = "$Id: loadcfg.c,v 2.1 2002/06/04 17:22:36 jongfoster Exp $"; +const char loadcfg_rcs[] = "$Id: loadcfg.c,v 2.2 2002/09/04 15:48:33 oes Exp $"; /********************************************************************* * - * File : $Source: /cvsroot/ijbswa//current/src/loadcfg.c,v $ + * File : $Source: /cvsroot/ijbswa/current/src/loadcfg.c,v $ * * Purpose : Loads settings from the configuration file into * global variables. This file contains both the @@ -35,6 +35,11 @@ const char loadcfg_rcs[] = "$Id: loadcfg.c,v 2.1 2002/06/04 17:22:36 jongfoster * * Revisions : * $Log: loadcfg.c,v $ + * Revision 2.2 2002/09/04 15:48:33 oes + * Synced with the stable branch: + * Revision 1.48.2.1 2002/08/21 17:58:05 oes + * Temp kludge to let user and default action file be edited through win32 GUI (FR 592080) + * * Revision 2.1 2002/06/04 17:22:36 jongfoster * Adding comments * @@ -471,9 +476,9 @@ void unload_configfile (void * data) { struct configuration_spec * config = (struct configuration_spec *)data; struct forward_spec *cur_fwd = config->forward; + int i; #ifdef FEATURE_ACL struct access_control_list *cur_acl = config->acl; - int i; while (cur_acl != NULL) { -- 2.39.2