OSSP CVS Repository

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

ossp-pkg/lmtp2nntp/lmtp2nntp_main.c 1.40 -> 1.41

--- lmtp2nntp_main.c     2002/02/13 16:25:38     1.40
+++ lmtp2nntp_main.c     2002/02/14 11:03:52     1.41
@@ -405,9 +405,9 @@
 fprintf(stderr, "DEBUG: los geht's\n");
 for (hrI = ctx->option_firstheaderrule; hrI != NULL; hrI = hrI->next) {
     fprintf(stderr, "DEBUG: cpPri    = %d\n", hrI->pri);
-    fprintf(stderr, "DEBUG: cpRegex  = \"%s\"\n", hrI->regex);
-    fprintf(stderr, "DEBUG: cpHeader = \"%s\"\n", hrI->header);
-    fprintf(stderr, "DEBUG: cpValue  = \"%s\"\n", hrI->val);
+    fprintf(stderr, "DEBUG: cpRegex  = \"%s\"\n", hrI->regex  == NULL ? "(NULL)" : hrI->regex);
+    fprintf(stderr, "DEBUG: cpHeader = \"%s\"\n", hrI->header == NULL ? "(NULL)" : hrI->header);
+    fprintf(stderr, "DEBUG: cpValue  = \"%s\"\n", hrI->val    == NULL ? "(NULL)" : hrI->val);
 }
 fprintf(stderr, "DEBUG: das war's\n");
 }

CVSTrac 2.0.1