Permalink
Browse files

minor coding style fixes.

  • Loading branch information...
agentzh committed Jun 21, 2012
1 parent 4a847b4 commit 982011dcb7872b2d36011e89b643d17cf45fcfbd
Showing with 6 additions and 5 deletions.
  1. +3 −3 src/ngx_http_set_hashed_upstream.c
  2. +1 −1 src/ngx_http_set_rotate.c
  3. +1 −1 t/default-value.t
  4. +1 −0 util/build.sh
@@ -125,8 +125,8 @@ ngx_http_set_hashed_upstream(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
ulname->data, ulname->len);
if (ul == NULL) {
ngx_log_error(NGX_LOG_ERR, cf->log, 0,
"set_hashed_upstream: upstream list \"%V\" "
"not defined yet", ulname);
"set_hashed_upstream: upstream list \"%V\" "
"not defined yet", ulname);
return NGX_CONF_ERROR;
}
@@ -136,6 +136,6 @@ ngx_http_set_hashed_upstream(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
filter.data = ul;
filter.type = NDK_SET_VAR_VALUE_DATA;
return ndk_set_var_value_core(cf, var, v, &filter);
return ndk_set_var_value_core(cf, var, v, &filter);
}
@@ -108,6 +108,6 @@ ngx_http_set_rotate(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
filter.size = 3;
filter.data = NULL;
return ndk_set_var_multi_value_core(cf, &value[1], &value[1], &filter);
return ndk_set_var_multi_value_core(cf, &value[1], &value[1], &filter);
}
View
@@ -3,7 +3,7 @@
use lib 'lib';
use Test::Nginx::Socket;
#repeat_each(3);
repeat_each(3);
plan tests => repeat_each() * 2 * blocks();
View
@@ -8,6 +8,7 @@ version=$1
force=$2
#--with-cc="gcc46" \
#--with-ld-opt="-rdynamic" \
ngx-build $force $version \
--with-http_ssl_module \

0 comments on commit 982011d

Please sign in to comment.