Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

minor coding style fixes.

  • Loading branch information...
commit 982011dcb7872b2d36011e89b643d17cf45fcfbd 1 parent 4a847b4
Yichun Zhang authored June 21, 2012
6  src/ngx_http_set_hashed_upstream.c
@@ -125,8 +125,8 @@ ngx_http_set_hashed_upstream(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
125 125
                                             ulname->data, ulname->len);
126 126
     if (ul == NULL) {
127 127
         ngx_log_error(NGX_LOG_ERR, cf->log, 0,
128  
-                "set_hashed_upstream: upstream list \"%V\" "
129  
-                "not defined yet", ulname);
  128
+                      "set_hashed_upstream: upstream list \"%V\" "
  129
+                      "not defined yet", ulname);
130 130
         return NGX_CONF_ERROR;
131 131
     }
132 132
 
@@ -136,6 +136,6 @@ ngx_http_set_hashed_upstream(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
136 136
     filter.data = ul;
137 137
     filter.type = NDK_SET_VAR_VALUE_DATA;
138 138
 
139  
-    return  ndk_set_var_value_core(cf, var, v, &filter);
  139
+    return ndk_set_var_value_core(cf, var, v, &filter);
140 140
 }
141 141
 
2  src/ngx_http_set_rotate.c
@@ -108,6 +108,6 @@ ngx_http_set_rotate(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
108 108
     filter.size = 3;
109 109
     filter.data = NULL;
110 110
 
111  
-    return  ndk_set_var_multi_value_core(cf, &value[1], &value[1], &filter);
  111
+    return ndk_set_var_multi_value_core(cf, &value[1], &value[1], &filter);
112 112
 }
113 113
 
2  t/default-value.t
@@ -3,7 +3,7 @@
3 3
 use lib 'lib';
4 4
 use Test::Nginx::Socket;
5 5
 
6  
-#repeat_each(3);
  6
+repeat_each(3);
7 7
 
8 8
 plan tests => repeat_each() * 2 * blocks();
9 9
 
1  util/build.sh
@@ -8,6 +8,7 @@ version=$1
8 8
 force=$2
9 9
 
10 10
     #--with-cc="gcc46" \
  11
+    #--with-ld-opt="-rdynamic" \
11 12
 
12 13
 ngx-build $force $version \
13 14
     --with-http_ssl_module \

0 notes on commit 982011d

Please sign in to comment.
Something went wrong with that request. Please try again.