diff src/core/ngx_inet.c @ 64:5db440287648 NGINX_0_1_32

nginx 0.1.32 *) Bugfix: the arguments were omitted in the redirects, issued by the "rewrite" directive; bug appeared in 0.1.29. *) Feature: the "if" directive supports the captures in regular expressions. *) Feature: the "set" directive supports the variables and the captures of regular expressions. *) Feature: the "X-Accel-Redirect" response header line is supported in proxy and FastCGI mode.
author Igor Sysoev <http://sysoev.ru>
date Thu, 19 May 2005 00:00:00 +0400
parents b55cbf18157e
children 818201e5a553
line wrap: on
line diff
--- a/src/core/ngx_inet.c
+++ b/src/core/ngx_inet.c
@@ -419,7 +419,7 @@ ngx_inet_parse_host_port(ngx_inet_upstre
     u->host.data = url->data;
     u->host_header = *url;
 
-    for (/* void */; i < url->len; i++) {
+    for ( /* void */ ; i < url->len; i++) {
 
         if (url->data[i] == ':') {
             u->port_text.data = &url->data[i] + 1;