X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=pcrs.c;h=89bab8fa9794531d1524cd1b8b2412331f0e69cc;hb=12f52e6af55d51d4b268af7956d97c772eebbb5c;hp=0cff5f8307d8ddd90b580930ef89b6f8a7705256;hpb=2d3a5943ff38550fd73e6b5b29ac561b2a9be2cd;p=privoxy.git diff --git a/pcrs.c b/pcrs.c index 0cff5f83..89bab8fa 100644 --- a/pcrs.c +++ b/pcrs.c @@ -1,4 +1,4 @@ -const char pcrs_rcs[] = "$Id: pcrs.c,v 1.3 2001/05/25 11:03:55 oes Exp $"; +const char pcrs_rcs[] = "$Id: pcrs.c,v 1.4 2001/05/25 14:12:40 oes Exp $"; /********************************************************************* * @@ -43,6 +43,9 @@ const char pcrs_rcs[] = "$Id: pcrs.c,v 1.3 2001/05/25 11:03:55 oes Exp $"; * * Revisions : * $Log: pcrs.c,v $ + * Revision 1.4 2001/05/25 14:12:40 oes + * Fixed bug: Empty substitutes now detected + * * Revision 1.3 2001/05/25 11:03:55 oes * Added sanity check for NULL jobs to pcrs_exec_substitution * @@ -176,7 +179,8 @@ int my_strsep(char *token, char **text, char delimiter, char quote_char) *********************************************************************/ int pcrs_compile_perl_options(char *optstring, int *globalflag) { - int i, rc = 0; + size_t i; + int rc = 0; *globalflag = 0; for (i=0; i < strlen(optstring); i++) {