From: oes <oes@users.sourceforge.net>
Date: Sun, 9 Sep 2001 21:41:57 +0000 (+0000)
Subject: Fixing yet another silly bug
X-Git-Tag: v_2_9_9~144
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/faq/@default-cgi@/@default-cgi@show-url-info?a=commitdiff_plain;h=d2871ac82955cf0b901a6916da1f8ff66cd8fd72;p=privoxy.git

Fixing yet another silly bug
---

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);
    
 
    /*