OSSP CVS Repository

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

ossp-pkg/petidomo/subscribe.c 1.1 -> 1.2

--- subscribe.c  2000/12/13 13:19:25     1.1
+++ subscribe.c  2000/12/13 15:35:14     1.2
@@ -1,15 +1,25 @@
 /*
- *      $Source: /v/ossp/cvs/ossp-pkg/petidomo/subscribe.c,v $
- *      $Revision: 1.1 $
- *      $Date: 2000/12/13 13:19:25 $
- *
- *      Copyright (C) 1996 by CyberSolutions GmbH.
- *      All rights reserved.
- */
+   $Source: /v/ossp/cvs/ossp-pkg/petidomo/subscribe.c,v $
+   $Revision: 1.2 $
+
+   Copyright (C) 2000 by CyberSolutions GmbH, Germany.
+
+   This file is part of OpenPetidomo.
+
+   OpenPetidomo is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
+
+   OpenPetidomo is distributed in the hope that it will be useful, but
+   WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+   General Public License for more details.
+*/
 
 #include <string.h>
-#include <text.h>
-#include <petidomo.h>
+#include "libtext/text.h"
+#include "petidomo.h"
 
 int
 AddAddress(struct Mail * MailStruct,
@@ -18,6 +28,7 @@
                 const char * defaultlist)
 {
     const struct List_Config * ListConfig;
+    const struct PD_Config   * MasterConfig;
     FILE *         fh;
     const char *   address = NULL;
     const char *   listname = NULL;
@@ -58,7 +69,7 @@
     }
 
     /* Initialize internal stuff. */
-
+    MasterConfig = getMasterConfig();
     ListConfig = getListConfig(listname);
     sprintf(owner, "%s-owner@%s", listname, ListConfig->fqdn);
     sprintf(envelope, "%s-owner@%s", listname, ListConfig->fqdn);
@@ -322,3 +333,4 @@
     }
     return 0;
 }
+

CVSTrac 2.0.1