From 9a29d129f20873f4de4553eab00b869815a75bac Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sun, 26 Nov 2006 16:56:41 +0000 Subject: [PATCH] add comment --- src/http/modules/perl/ngx_http_perl_module.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/http/modules/perl/ngx_http_perl_module.c b/src/http/modules/perl/ngx_http_perl_module.c index 9674358e4..e460550d7 100644 --- a/src/http/modules/perl/ngx_http_perl_module.c +++ b/src/http/modules/perl/ngx_http_perl_module.c @@ -694,6 +694,9 @@ ngx_http_perl_eval_anon_sub(pTHX_ ngx_str_t *handler, SV **sv) if (ngx_strncmp(p, "sub ", 4) == 0 || ngx_strncmp(p, "use ", 4) == 0) { *sv = eval_pv((char *) p, FALSE); + + /* eval_pv() does not set ERRSV on failure */ + return; }