Fix an error message in get_last_url() nobody is supposed to see
authorFabian Keil <fk@fabiankeil.de>
Sun, 18 Mar 2012 13:47:33 +0000 (13:47 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sun, 18 Mar 2012 13:47:33 +0000 (13:47 +0000)
Reported by Matthew Fischer in #3507301.

filters.c

index e9d724c..0b643a3 100644 (file)
--- a/filters.c
+++ b/filters.c
@@ -1,4 +1,4 @@
-const char filters_rcs[] = "$Id: filters.c,v 1.169 2012/03/09 16:24:36 fabiankeil Exp $";
+const char filters_rcs[] = "$Id: filters.c,v 1.170 2012/03/09 17:55:50 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/filters.c,v $
@@ -1109,7 +1109,8 @@ char *get_last_url(char *subject, const char *redirect_mode)
 
       if (NULL == url_segments)
       {
-         log_error(LOG_LEVEL_ERROR, "Out of memory while decoding URL: %s", new_url);
+         log_error(LOG_LEVEL_ERROR,
+            "Out of memory while decoding URL: %s", subject);
          freez(subject);
          return NULL;
       }