[nginx] Perl: extra "return" removed.

Maxim Dounin mdounin at mdounin.ru
Tue Jul 16 11:41:18 UTC 2013


details:   http://hg.nginx.org/nginx/rev/51f6ddbf6d09
branches:  stable-1.4
changeset: 5269:51f6ddbf6d09
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Sat May 11 18:48:56 2013 +0400
description:
Perl: extra "return" removed.

diffstat:

 src/http/modules/perl/nginx.xs |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs
--- a/src/http/modules/perl/nginx.xs
+++ b/src/http/modules/perl/nginx.xs
@@ -419,7 +419,7 @@ request_body(r)
 
     p = ngx_pnalloc(r->pool, len);
     if (p == NULL) {
-        return XSRETURN_UNDEF;
+        XSRETURN_UNDEF;
     }
 
     data = p;



More information about the nginx-devel mailing list