Welcome! Log In Create A New Profile

Advanced

[nginx] Perl: extra "return" removed.

Maxim Dounin
July 16, 2013 07:42AM
details: http://hg.nginx.org/nginx/rev/51f6ddbf6d09
branches: stable-1.4
changeset: 5269:51f6ddbf6d09
user: Maxim Dounin <mdounin@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;

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Perl: extra "return" removed.

Maxim Dounin 565 July 16, 2013 07:42AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 171
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready