OSSP CVS Repository

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

ossp-pkg/petidomo/unsubscribe.c 1.5 -> 1.6

--- unsubscribe.c        2001/01/06 11:05:08     1.5
+++ unsubscribe.c        2001/01/08 20:36:19     1.6
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/unsubscribe.c,v $
-   $Revision: 1.5 $
+   $Revision: 1.6 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -230,10 +230,9 @@
             }
     }
     else {
-        buffer = text_easy_sprintf("lists/%s/list", listname);
-        fh = fopen(buffer, "w");
+        fh = fopen(ListConfig->address_file, "w");
         if (fh == NULL) {
-            syslog(LOG_ERR, "Failed to open file \"%s\" for writing: %m", buffer);
+            syslog(LOG_ERR, "Failed to open file \"%s\" for writing: %m", ListConfig->address_file);
             return -1;
         }
         *p++ = '\0';

CVSTrac 2.0.1