OSSP CVS Repository

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

ossp-pkg/lmtp2nntp/lmtp2nntp_config.c 1.73 -> 1.74

--- lmtp2nntp_config.c   2002/05/27 15:09:50     1.73
+++ lmtp2nntp_config.c   2002/05/28 12:43:14     1.74
@@ -587,7 +587,7 @@
                     hrNew->next      = NULL;
                     hrNew->pri       = 500; /* default priority */
                     hrNew->regex     = NULL;
-                    hrNew->header    = NULL;
+                    hrNew->name      = NULL;
                     hrNew->val       = NULL;
                     hrNew->pcreRegex = NULL;
                     hrNew->pcreExtra = NULL;
@@ -624,7 +624,7 @@
                         logbook(ctx->l2, L2_LEVEL_ERROR, "option --headerrule, header (%s) missing", (ov->data.m)[i]);
                         throw(0,0,0);
                     }
-                    hrNew->header = str_dupex(cpP, n);
+                    hrNew->name   = str_dupex(cpP, n);
                     /* value */
                     cpP = cp;
                     n = strlen(cpP);
@@ -682,8 +682,8 @@
                     free(hrNew->pcreRegex);
                 if (hrNew->val != NULL)
                     freeex(hrNew->val);
-                if (hrNew->header != NULL)
-                    freeex(hrNew->header);
+                if (hrNew->name != NULL)
+                    freeex(hrNew->name);
                 if (hrNew->regex != NULL)
                     freeex(hrNew->regex);
                 freeex((headerrule_t *)hrNew);

CVSTrac 2.0.1