X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=urlmatch.c;h=ebaf63c1964d0cc9c63a11b1194f2519adbfeb64;hp=a8f887b7dfa26d0b7911e766ddc8b8eb2d33d11b;hb=291f91036dabb40b2323a118dd34c368ae2c6848;hpb=92c3c1230f233687caf08413b124285a75cb515b diff --git a/urlmatch.c b/urlmatch.c index a8f887b7..ebaf63c1 100644 --- a/urlmatch.c +++ b/urlmatch.c @@ -1,4 +1,4 @@ -const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.58 2009/06/03 16:44:41 fabiankeil Exp $"; +const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.60 2011/04/19 13:00:47 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/urlmatch.c,v $ @@ -929,7 +929,7 @@ static int simplematch(const char *pattern, const char *text) || ((*pat == ']') && (charmap[*txt / 8] & (1 << (*txt % 8)))) ) { /* - * Sucess: Go ahead + * Success: Go ahead */ pat++; } @@ -1128,7 +1128,7 @@ jb_err create_url_spec(struct url_spec *url, char *buf) } /* Is it a tag pattern? */ - if (0 == strncmpic("TAG:", url->spec, 4)) + if (0 == strncmpic(url->spec, "TAG:", 4)) { /* The pattern starts with the first character after "TAG:" */ const char *tag_pattern = buf + 4;