Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4541 - trunk/src/http

Anonymous User
March 15, 2012 03:42PM
Author: ru
Date: 2012-03-15 19:41:35 +0000 (Thu, 15 Mar 2012)
New Revision: 4541

Log:
Slight optimization in ngx_http_get_variable_index().


Modified:
trunk/src/http/ngx_http_variables.c

Modified: trunk/src/http/ngx_http_variables.c
===================================================================
--- trunk/src/http/ngx_http_variables.c 2012-03-15 19:37:32 UTC (rev 4540)
+++ trunk/src/http/ngx_http_variables.c 2012-03-15 19:41:35 UTC (rev 4541)
@@ -384,7 +384,7 @@
v->flags = 0;
v->index = cmcf->variables.nelts - 1;

- return cmcf->variables.nelts - 1;
+ return v->index;
}



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

[nginx] svn commit: r4541 - trunk/src/http

Anonymous User 986 March 15, 2012 03:42PM



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

Online Users

Guests: 140
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready