changeset 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 a63dd08379c4
children 48402deff89a
files src/http/modules/perl/nginx.xs
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
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;
     }