Skip to content

Commit

Permalink
minor coding style fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
agentzh committed Jun 21, 2012
1 parent 4a847b4 commit 982011d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/ngx_http_set_hashed_upstream.c
Expand Up @@ -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;
}

Expand All @@ -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);
}

2 changes: 1 addition & 1 deletion src/ngx_http_set_rotate.c
Expand Up @@ -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);
}

2 changes: 1 addition & 1 deletion t/default-value.t
Expand Up @@ -3,7 +3,7 @@
use lib 'lib';
use Test::Nginx::Socket;

#repeat_each(3);
repeat_each(3);

plan tests => repeat_each() * 2 * blocks();

Expand Down
1 change: 1 addition & 0 deletions util/build.sh
Expand Up @@ -8,6 +8,7 @@ version=$1
force=$2

#--with-cc="gcc46" \
#--with-ld-opt="-rdynamic" \

ngx-build $force $version \
--with-http_ssl_module \
Expand Down

0 comments on commit 982011d

Please sign in to comment.