X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=pcrs.c;h=c2a4945e06844dcafbd7763a2f81b467f0e5ef5d;hb=e97ab93c25bbff1a08279c35fc4c77855d909585;hp=1a000253d76ed16a35a6de9d388c6fd20932cd89;hpb=f121f0983e47d77ebac01da9bb308ac5c1ea113b;p=privoxy.git diff --git a/pcrs.c b/pcrs.c index 1a000253..c2a4945e 100644 --- a/pcrs.c +++ b/pcrs.c @@ -1,4 +1,4 @@ -const char pcrs_rcs[] = "$Id: pcrs.c,v 1.12 2001/08/18 11:35:00 oes Exp $"; +const char pcrs_rcs[] = "$Id: pcrs.c,v 1.13 2001/09/06 14:05:59 oes Exp $"; /********************************************************************* * @@ -33,6 +33,9 @@ const char pcrs_rcs[] = "$Id: pcrs.c,v 1.12 2001/08/18 11:35:00 oes Exp $"; * * Revisions : * $Log: pcrs.c,v $ + * Revision 1.13 2001/09/06 14:05:59 oes + * Fixed silly bug + * * Revision 1.12 2001/08/18 11:35:00 oes * - Introduced pcrs_strerror() * - made some NULL arguments non-fatal @@ -268,7 +271,7 @@ pcrs_substitute *pcrs_compile_replacement(const char *replacement, int trivialfl *errptr = PCRS_ERR_NOMEM; return NULL; } - memset(r, '\0', length + 1); + memset(text, '\0', length + 1); /*