OSSP CVS Repository

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

ossp-pkg/petidomo/config-files.c 1.1 -> 1.2

--- config-files.c       2001/01/20 13:26:00     1.1
+++ config-files.c       2001/01/20 13:52:41     1.2
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/config-files.c,v $
-   $Revision: 1.1 $
+   $Revision: 1.2 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -43,7 +43,7 @@
 static char*  list_dir        = LOCALSTATEDIR "/lists";
 static char*  ack_queue_dir   = LOCALSTATEDIR "/ack_queue";
 
-int InitPetidomo(const char* masterconfig_path)
+int InitPetidomo(const char* masterconfig)
     {
     int    rc;
 
@@ -78,7 +78,7 @@
 
     /* Parse the config file. */
 
-    rc = ReadConfig(masterconfig_path, MasterCF);
+    rc = ReadConfig(masterconfig, MasterCF);
     if (rc != 0)
         {
         syslog(LOG_ERR, "Failed to parse the master config file.");
@@ -89,17 +89,17 @@
 
     if (fqdn == NULL)
         {
-        syslog(LOG_ERR, "The master config file \"%s\" doesn't set the host name.", masterconfig_path);
+        syslog(LOG_ERR, "The master config file \"%s\" doesn't set the host name.", masterconfig);
         return -1;
         }
     if (mta == NULL)
         {
-        syslog(LOG_ERR, "The master config file \"%s\" doesn't set the MTA.", masterconfig_path);
+        syslog(LOG_ERR, "The master config file \"%s\" doesn't set the MTA.", masterconfig);
         return -1;
         }
     if (master_password == NULL)
         {
-        syslog(LOG_ERR, "The master config file \"%s\" doesn't set the admin password.", masterconfig_path);
+        syslog(LOG_ERR, "The master config file \"%s\" doesn't set the admin password.", masterconfig);
         return -1;
         }
     if (strstr(mta_options, "%s") == NULL)

CVSTrac 2.0.1