OSSP CVS Repository

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

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

--- listserv.c   2000/12/13 15:35:14     1.2
+++ listserv.c   2000/12/15 15:48:00     1.3
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/listserv.c,v $
-   $Revision: 1.2 $
+   $Revision: 1.3 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -51,7 +51,6 @@
         syslog(LOG_ERR, "Parsing the incoming mail failed.");
         exit(rc);
     }
-    debug((DEBUG_LISTSERV, 3, "Parsed incoming mail successfully."));
 
     /* Do sanity checks. */
 
@@ -103,10 +102,8 @@
 
         if (*g_currLine == '\0' || *g_currLine == '#')
             continue;
-        if (!strcmp(g_currLine, "-- ")) {
-            debug((DEBUG_LISTSERV, 6, "Ignoring trailing signature."));
+        if (!strcmp(g_currLine, "-- "))
             break;
-        }
 
         /* Log contents of current line. */
 
@@ -118,10 +115,8 @@
         for (j = 0; !isspace((int)g_currLine[j]) && j < (sizeof(keyword)-1); j++)
           keyword[j] = g_currLine[j];
         keyword[j] = '\0';
-        debug((DEBUG_LISTSERV, 5, "command is \"%s\".", keyword));
         for (i = 0; (&(ParseArray[i]))->keyword != NULL; i++) {
             if (strcasecmp(keyword, (&(ParseArray[i]))->keyword) == 0) { /* hit */
-                debug((DEBUG_LISTSERV, 4, "Recognized command \"%s\".", keyword));
                 rc = sscanf(g_currLine, "%*s%511s%511s", param1, param2);
                 rc = ((&(ParseArray[i]))->handleCommand)(MailStruct,
                                                          ((rc >= 1) ? param1 : NULL),
@@ -140,7 +135,6 @@
 
             /* No valid command. */
 
-            debug((DEBUG_LISTSERV, 4, "Unrecognized command \"%s\".", keyword));
             junklines++;
         }
     }

CVSTrac 2.0.1