OSSP CVS Repository

ossp - Check-in [261]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 261
Date: 2001-Jan-10 18:07:19 (local)
2001-Jan-10 17:07:19 (UTC)
User:simons
Branch:
Comment: When running in listserv mode, there is no 'listname' which can be used to get the mailing list's configuration. Thus, the routine shouldn't try to got one. Fixed it.
Tickets:
Inspections:
Files:
ossp-pkg/petidomo/acl.y      1.5 -> 1.6     2 inserted, 2 deleted

ossp-pkg/petidomo/acl.y 1.5 -> 1.6

--- acl.y        2001/01/08 20:49:52     1.5
+++ acl.y        2001/01/10 17:07:19     1.6
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/acl.y,v $
-   $Revision: 1.5 $
+   $Revision: 1.6 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -245,7 +245,6 @@
     assert(parameter_ptr != NULL);
 
     MasterConfig = getMasterConfig();
-    ListConfig = getListConfig(listname);
     g_MailStruct = MailStruct;
     g_parameter = NULL;
 
@@ -299,6 +298,7 @@
     if (listname == NULL)
       goto finished;
 
+    ListConfig = getListConfig(listname);
     yyin = fopen(ListConfig->acl_file, "r");
     if (yyin == NULL) {
         switch(errno) {

CVSTrac 2.0.1