OSSP CVS Repository

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

ossp-pkg/lmtp2nntp/lmtp2nntp_msg.c 1.28 -> 1.29

--- lmtp2nntp_msg.c      2002/05/29 21:35:52     1.28
+++ lmtp2nntp_msg.c      2002/07/02 07:49:01     1.29
@@ -29,7 +29,7 @@
 
 #include "lmtp2nntp_msg.h"
 #include "lmtp2nntp_argz.h"
-#include "fixme.h" //FIMXE logbook only
+#include "fixme.h" /* FIMXE logbook only */
 #include "tai.h"
 #include "str.h"
 
@@ -452,7 +452,7 @@
     return str;
 }
 
-    //FIXME below is the header rewriting engine which must be cleaned up and integrated
+    /* FIXME below is the header rewriting engine which must be cleaned up and integrated */
 
 static void headerdatadestroy(headerdata_t *hdC)
 {
@@ -605,7 +605,7 @@
     tai_t *futurerange;
     tai_t *value;
 
-    tai_create(&now);   //FIXME ex
+    tai_create(&now);   /* FIXME ex */
     (void /*FIXME*/)tai_import(now, TAI_TYPE_UNIX);
 
     /* parse argument ([past][,[future]])
@@ -627,17 +627,17 @@
         else
             *cpF++ = NUL;
         if (strlen(cpP) != 0) {
-            tai_create(&pastrange);   //FIXME ex
+            tai_create(&pastrange);   /* FIXME ex */
             (void /*FIXME*/)tai_import(pastrange  , TAI_TYPE_SECONDS, 24*60*60*atoi(cpP));
         }
         if (strlen(cpF) != 0) {
-            tai_create(&futurerange); //FIXME ex
+            tai_create(&futurerange); /* FIXME ex */
             (void /*FIXME*/)tai_import(futurerange, TAI_TYPE_SECONDS, 24*60*60*atoi(cpF));
         }
         free(cpP);
     }
 
-    //FIXME printf("DEBUG: cpVal=\"%41s\", cpArg=\"%s\"\n", cpVal, cpArg);
+    /* FIXME printf("DEBUG: cpVal=\"%41s\", cpArg=\"%s\"\n", cpVal, cpArg); */
     if ((cpVal == NULL) || (strlen(cpVal) == 0)) {
         *cppOut    = (char *)mallocex(DATELENMAX);
         *pnOutsize = DATELENMAX;
@@ -645,12 +645,12 @@
         *pnOut     = strlen(*cppOut);
     }
     else {
-        tai_create(&value);   //FIXME ex
+        tai_create(&value);   /* FIXME ex */
         bOk = FALSE;
         for (i = 0; !bOk && (fmt[i] != NULL); i++) {
             if ((rv = tai_parse(value, cpVal, strlen(cpVal), fmt[i])) == TAI_OK) 
                 bOk = TRUE;
-            //FIXME printf("DEBUG: checked against \"%41s\" returned %d\n", fmt[i], rv);
+            /* FIXME printf("DEBUG: checked against \"%41s\" returned %d\n", fmt[i], rv); */
         }
         if (   bOk
 #if 0
@@ -888,7 +888,7 @@
         return;
 
 #if 0
-    { //TODO debug only - wait for l2 to support code block bypassing
+    { /* TODO debug only - wait for l2 to support code block bypassing */
         int i;
         headerrule_t *hrD;
         headerdata_t *hdD;
@@ -923,7 +923,7 @@
     }
     for (hrI = ctx->option_firstheaderrule; hrI != NULL; hrI = hrI->next) { /* for each rule */
 #if 0
-        { //TODO debug only - wait for l2 to support code block bypassing
+        { /* TODO debug only - wait for l2 to support code block bypassing */
             int i;
             headerrule_t *hrD;
             headerdata_t *hdD;
@@ -932,7 +932,7 @@
             for (hrD = ctx->option_firstheaderrule; hrD != NULL; hrD = hrD->next)
                 logbook(ctx->l2, L2_LEVEL_DEBUG, "hrD->header=%s", hrD->header);
             for (hdD = ctx->msg->hdFirst; hdD != NULL; hdD = hdD->next) {
-                //logbook(ctx->l2, L2_LEVEL_DEBUG, "hdD=%.8lx, hdD->name=%.8lx, hdD->data.s=%.8lx", (long)hdD, (long)&hdD->name, (long)&hdD->data.s);
+                /* logbook(ctx->l2, L2_LEVEL_DEBUG, "hdD=%.8lx, hdD->name=%.8lx, hdD->data.s=%.8lx", (long)hdD, (long)&hdD->name, (long)&hdD->data.s); */
                 if (hdD->ndata == 0)
                     logbook(ctx->l2, L2_LEVEL_DEBUG, "hdD->name=%s: (NO DATA)", hdD->name);
                 if (hdD->ndata == 1)
@@ -951,7 +951,6 @@
                 regex_ctx->nMatch = pcre_exec(hrI->pcreRegex, hrI->pcreExtra, hdI->name, strlen(hdI->name), 0, 0, ovec, OVECSIZE);
                 if (regex_ctx->nMatch >= 1) {
                     int i;
-                    char *cp;
                     logbook(ctx->l2, L2_LEVEL_DEBUG, "regex matches, %d references", regex_ctx->nMatch);
                     pcre_get_substring_list(hdI->name, ovec, regex_ctx->nMatch, &regex_ctx->acpMatch);
                     if (regex_ctx->acpMatch != NULL)
@@ -1068,7 +1067,7 @@
     }
 
 #if 0
-    { //TODO debug only - wait for l2 to support code block bypassing
+    { /* TODO debug only - wait for l2 to support code block bypassing */
         int i;
         headerrule_t *hrD;
         headerdata_t *hdD;

CVSTrac 2.0.1