/[imapfilter]/imapfilter/misc.c
ViewVC logotype

Diff of /imapfilter/misc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by lefcha, Sat Nov 10 15:31:07 2001 UTC revision 1.5 by lefcha, Fri Jul 26 14:45:28 2002 UTC
# Line 11  char *strcasestr(const char *haystack, c Line 11  char *strcasestr(const char *haystack, c
11      char *h, *n, *c;      char *h, *n, *c;
12      size_t hl, nl;      size_t hl, nl;
13    
14      c = (char *) haystack;      c = (char *)haystack;
15      n = (char *) needle;      n = (char *)needle;
16      hl = strlen(haystack);      hl = strlen(haystack);
17      nl = strlen(needle);      nl = strlen(needle);
18    
# Line 25  char *strcasestr(const char *haystack, c Line 25  char *strcasestr(const char *haystack, c
25          }          }
26    
27          h = c;          h = c;
28          n = (char *) needle;          n = (char *)needle;
29    
30          while (tolower(*h) == tolower(*n)) {          while (tolower(*h) == tolower(*n)) {
31              h++;              h++;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26