OSSP CVS Repository

ossp - Check-in [1921]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1921
Date: 2002-Feb-28 15:07:43 (local)
2002-Feb-28 14:07:43 (UTC)
User:thl
Branch:
Comment: headername comparisons must not be case sensitive
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/lmtp2nntp_config.c      1.60 -> 1.61     2 inserted, 2 deleted
ossp-pkg/lmtp2nntp/lmtp2nntp_main.c      1.43 -> 1.44     1 inserted, 1 deleted

ossp-pkg/lmtp2nntp/lmtp2nntp_config.c 1.60 -> 1.61

--- lmtp2nntp_config.c   2002/02/28 14:02:25     1.60
+++ lmtp2nntp_config.c   2002/02/28 14:07:43     1.61
@@ -1366,7 +1366,7 @@
                 //log2(msg, DEBUG, "FIXME trace loop hdI=%.8lx, hI->name=\"%s\"", hdI, hdI->name);
                 if (hdI->name == NULL || strlen(hdI->name) == 0 || hdI->ndata == 0)
                     continue;
-                if (strcmp(cp, hdI->name) == 0)
+                if (strcasecmp(cp, hdI->name) == 0)
                     break;
             }
 
@@ -1663,7 +1663,7 @@
                 if (hdI->name == NULL || strlen(hdI->name) == 0)
                     continue; //FIXME header w/o name cannot happen normally
                 log2(ctx, DEBUG, "hrI->header=%s, hdI->name=%s", hrI->header, hdI->name);
-                if (strcmp(hrI->header, hdI->name) == 0)
+                if (strcasecmp(hrI->header, hdI->name) == 0)
                     break;
             }
             if (hdI != NULL) {


ossp-pkg/lmtp2nntp/lmtp2nntp_main.c 1.43 -> 1.44

--- lmtp2nntp_main.c     2002/02/28 14:02:26     1.43
+++ lmtp2nntp_main.c     2002/02/28 14:07:43     1.44
@@ -236,7 +236,7 @@
             log1(ctx, DEBUG, "FIXME hdI->name=%s", hdI->name);
             if (hdI->name == NULL || strlen(hdI->name) == 0)
                 continue; //FIXME header w/o name cannot happen normally
-            if (strcmp(cp, hdI->name) == 0)
+            if (strcasecmp(cp, hdI->name) == 0)
                 break;
         }
         if (hdI != NULL) {

CVSTrac 2.0.1