]> git.kaiwu.me - nginx.git/commitdiff
add comment
authorIgor Sysoev <igor@sysoev.ru>
Sun, 26 Nov 2006 16:56:41 +0000 (16:56 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Sun, 26 Nov 2006 16:56:41 +0000 (16:56 +0000)
src/http/modules/perl/ngx_http_perl_module.c

index 9674358e41cb68d8074eb20ff9af9301367aa984..e460550d79c51d8a3696fe62a66da32c50e44d73 100644 (file)
@@ -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;
     }