From: Fabian Keil Date: Thu, 24 May 2012 15:02:38 +0000 (+0000) Subject: In pcrs_get_delimiter(), do not use delimiters ouside the ASCII range X-Git-Tag: v_3_0_20~338 X-Git-Url: http://www.privoxy.org/gitweb/templates.html?a=commitdiff_plain;h=aaeeb414357ff75414ed705302c4624f083bd512;p=privoxy.git In pcrs_get_delimiter(), do not use delimiters ouside the ASCII range Fixes a clang complaint. --- diff --git a/pcrs.c b/pcrs.c index 344d7550..52d7b906 100644 --- a/pcrs.c +++ b/pcrs.c @@ -1,4 +1,4 @@ -const char pcrs_rcs[] = "$Id: pcrs.c,v 1.39 2012/03/09 16:23:50 fabiankeil Exp $"; +const char pcrs_rcs[] = "$Id: pcrs.c,v 1.40 2012/03/09 17:55:50 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/pcrs.c,v $ @@ -997,7 +997,7 @@ char pcrs_get_delimiter(const char *string) * Some characters that are unlikely to * be part of pcrs replacement strings. */ - char delimiters[] = "><§#+*~%^°-:;µ!@"; + char delimiters[] = "><#+*~%^-:;!@"; char *d = delimiters; /* Take the first delimiter that isn't part of the string */