--- 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");
}
|