OSSP CVS Repository

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

ossp-pkg/lmtp2nntp/nntp.c 1.5 -> 1.6

--- nntp.c       2001/08/13 15:16:32     1.5
+++ nntp.c       2001/08/14 08:15:25     1.6
@@ -114,12 +114,12 @@
 
     do {
         if ((rc = nntp_readline(nntp, line, sizeof(line))) != NNTP_OK) {
-            fprintf(stderr, "DEBUG: nntp_readline returned ***%d***\n", rc);
+            //fprintf(stderr, "DEBUG: nntp_readline returned ***%d***\n", rc);
             return rc;
             }
     } while (line[0] == '1');
 
-    // fprintf(stderr, "DEBUG: nntp_readline got ***%s***\n", line);
+    //fprintf(stderr, "DEBUG: nntp_readline got ***%s***\n", line);
 
     if (strncmp(line, "200", 3) == 0)
         return NNTP_OK;
@@ -182,7 +182,7 @@
     buf[n] = '\0';          /* string termination */
     if (n == (buflen-1)) 
         return NNTP_ERR_OVERFLOW;
-    fprintf(stderr, "DEBUG: nntp_readline  <<<%s\n", buf);
+    //fprintf(stderr, "DEBUG: nntp_readline  <<<%s\n", buf);
     return NNTP_OK;
 }
 
@@ -194,7 +194,7 @@
         return NNTP_ERR_ARG;
     strncpy(tmp, buf, NNTP_LINE_MAXLEN-3);
     strcat(tmp, "\r\n");
-    fprintf(stderr, "DEBUG: nntp_writeline >>>%s", tmp);
+    //fprintf(stderr, "DEBUG: nntp_writeline >>>%s", tmp);
     if (nntp->io.write(nntp->wfd, tmp, strlen(tmp)) < 0)
         return NNTP_ERR_SYSTEM;
     return NNTP_OK;
@@ -312,7 +312,7 @@
 
     if ((rc = nntp_readline(nntp, line, sizeof(line))) != NNTP_OK)
         return rc;
-    fprintf(stderr, "DEBUG: answer to post = ***%s***, rc = %s\n", line, nntp_error(nntp, rc));
+    //fprintf(stderr, "DEBUG: answer to post = ***%s***, rc = %s\n", line, nntp_error(nntp, rc));
     if (   (strncmp(line, "240", 3) == 0)
         || (strncmp(line, "441", 3) == 0)
           )

CVSTrac 2.0.1