OSSP CVS Repository

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

ossp-pkg/petidomo/config.c 1.2 -> 1.3

--- config.c     2000/12/13 15:35:14     1.2
+++ config.c     2000/12/15 15:48:00     1.3
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/Attic/config.c,v $
-   $Revision: 1.2 $
+   $Revision: 1.3 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -73,17 +73,14 @@
     /* First of all, determine the home directory of the "petidomo"
        user. This will be our base directory for all operations. */
 
-    debug((DEBUG_CONFIG, 9, "Looking for the home directory of user petidomo."));
     pwd = getpwnam("petidomo");
     if (pwd != NULL) {
-        debug((DEBUG_CONFIG, 8, "Home directory of petidomo is \"%s\".", pwd->pw_dir));
         if (strcmp(basedir, pwd->pw_dir) != 0)
           basedir = xstrdup(pwd->pw_dir); /* Replace the default above. */
         endpwent();
     }
     else
       syslog(LOG_WARNING, "User \"petidomo\" not found.");
-    debug((DEBUG_CONFIG, 8, "Will use basedir \"%s\".", basedir));
 
     /* chdir() into the base directory. */
 
@@ -186,7 +183,6 @@
     /* No? Then read the config file. */
 
     sprintf(buffer, "lists/%s/config", listname);
-    debug((DEBUG_CONFIG, 6, "getListConfig(): Loading config file \"%s\".", buffer));
     rc = ReadConfig(buffer, ListCF);
     if (rc != 0) {
         syslog(LOG_ERR, "Failed to parse the list \"%s\"'s config file.", listname);
@@ -207,8 +203,6 @@
         syslog(LOG_ERR, "Failed to allocate %d byte of memory.", sizeof(struct List_Config));
         exit(1);
     }
-    debug((DEBUG_CONFIG, 6, "Loaded config file successfully."));
-    debug((DEBUG_CONFIG, 4, "Read listtype is \"%s\".", listtype));
     if (!strcasecmp(listtype, "open"))
       ListConfig->listtype = LIST_OPEN;
     else if (!strcasecmp(listtype, "closed"))

CVSTrac 2.0.1