--- lmtp2nntp_main.c 2002/02/07 13:38:08 1.39
+++ lmtp2nntp_main.c 2002/02/13 16:25:38 1.40
@@ -349,8 +349,9 @@
ctx->option_operationmodefakestatus = NULL;
ctx->option_operationmodefakedsn = NULL;
ctx->option_maxmessagesize = 0;
- ctx->azHeaderValuePairs = NULL;
- ctx->asHeaderValuePairs = 0;
+ ctx->option_firstheaderrule = NULL;
+ ctx->azHeaderValuePairs = NULL; //FIXME obsolete
+ ctx->asHeaderValuePairs = 0; //FIXME obsolete
ctx->option_timeout_lmtp_accept = 0;
ctx->option_timeout_lmtp_read = 0;
ctx->option_timeout_lmtp_write = 0;
@@ -399,6 +400,19 @@
(void)option_parse(o, argc, argv);
(void)config_context(ctx);
+{
+headerrule_t *hrI;
+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: das war's\n");
+}
+ CU(0); //FIXME
+
if (getuid() != ctx->option_uid) {
if (setuid(ctx->option_uid) == -1) {
fprintf(stderr, "%s:Error: Setting UID to %d failed: %s\n",
|