OSSP CVS Repository

ossp - Difference in ossp-pkg/petidomo/listserv.c versions 1.8 and 1.9
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/petidomo/listserv.c 1.8 -> 1.9

--- listserv.c   2001/02/12 20:44:13     1.8
+++ listserv.c   2004/02/02 19:50:25     1.9
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/listserv.c,v $
-   $Revision: 1.8 $
+   $Revision: 1.9 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -64,7 +64,21 @@
 
     /* Do access control. */
 
-    if (checkACL(MailStruct, NULL, &operator, &parameter) != 0) {
+    if (checkACL(MailStruct, NULL, &operator, &parameter, ACL_PRE) != 0) {
+        syslog(LOG_ERR, "checkACL() failed with an error.");
+        exit(1);
+    }
+    rc = handleACL(MailStruct, NULL, operator, parameter);
+    switch(rc) {
+      case -1:
+          syslog(LOG_ERR, "handleACL() failed with an error.");
+          exit(1);
+      case 0:
+          break;
+      case 1:
+          return;
+    }
+    if (checkACL(MailStruct, NULL, &operator, &parameter, ACL_POST) != 0) {
         syslog(LOG_ERR, "checkACL() failed with an error.");
         exit(1);
     }

CVSTrac 2.0.1