diff src/http/modules/perl/nginx.xs @ 3317:dcb0d3658944

do not log error if $r->variable was not found
author Igor Sysoev <igor@sysoev.ru>
date Thu, 12 Nov 2009 15:50:34 +0000
parents 975f0558aab3
children de70f912ad58
line wrap: on
line diff
--- a/src/http/modules/perl/nginx.xs
+++ b/src/http/modules/perl/nginx.xs
@@ -902,9 +902,6 @@ variable(r, name, value = NULL)
             XSRETURN_UNDEF;
         }
 
-        ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
-                      "variable \"%V\" not found", &var);
-
         XSRETURN_UNDEF;
     }