]> code.citadel.org Git - citadel.git/commitdiff
* <R>eplace string is now case sensitive
authorArt Cancro <ajc@citadel.org>
Tue, 13 Aug 2002 04:02:06 +0000 (04:02 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 13 Aug 2002 04:02:06 +0000 (04:02 +0000)
citadel/ChangeLog
citadel/messages.c

index 978332909cdf23def06e5039c05f2254795e245b..6db57b950fa7d566e4b2377e4f48e73df92bc1e0 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 591.89  2002/08/13 04:02:06  ajc
+ * <R>eplace string is now case sensitive
+
  Revision 591.88  2002/08/13 03:46:31  ajc
  * More work on the self-service subscribe/unsubscribe infrastructure
 
@@ -3891,3 +3894,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
+
index 45396fa95c743b12af8561fa7b77c3563ae90173..246fd5837829bed9c630130552de9922e5623916 100644 (file)
@@ -632,7 +632,7 @@ void replace_string(char *filename, long int startpos)
                buf[strlen(buf)] = a;
                if (strlen(buf) >= strlen(srch_str)) {
                        ptr = (&buf[strlen(buf) - strlen(srch_str)]);
-                       if (!strncasecmp(ptr, srch_str, strlen(srch_str))) {
+                       if (!strncmp(ptr, srch_str, strlen(srch_str))) {
                                strcpy(ptr, rplc_str);
                                ++substitutions;
                        }