diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-09-15 17:11:06 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-09-15 17:11:06 +0000 |
| commit | 4b96baa417874ce7c152f40787d1d41a4f070690 (patch) | |
| tree | 1006783cc1febf22fc213408d3c90a1611d85072 /src/http/ngx_http_upstream_round_robin.c | |
| parent | 254353e40e73211ebcbbc9db468c2481a2b7101f (diff) | |
| download | nginx-4b96baa417874ce7c152f40787d1d41a4f070690.tar.gz nginx-4b96baa417874ce7c152f40787d1d41a4f070690.tar.bz2 | |
u_char* is enough to keep file name
Diffstat (limited to 'src/http/ngx_http_upstream_round_robin.c')
| -rw-r--r-- | src/http/ngx_http_upstream_round_robin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_upstream_round_robin.c b/src/http/ngx_http_upstream_round_robin.c index d0911a04f..43c2a50f1 100644 --- a/src/http/ngx_http_upstream_round_robin.c +++ b/src/http/ngx_http_upstream_round_robin.c @@ -136,7 +136,7 @@ ngx_http_upstream_init_round_robin(ngx_conf_t *cf, if (us->port == 0 && us->default_port == 0) { ngx_log_error(NGX_LOG_EMERG, cf->log, 0, "no port in upstream \"%V\" in %s:%ui", - &us->host, us->file_name.data, us->line); + &us->host, us->file_name, us->line); return NGX_ERROR; } @@ -149,7 +149,7 @@ ngx_http_upstream_init_round_robin(ngx_conf_t *cf, if (u.err) { ngx_log_error(NGX_LOG_EMERG, cf->log, 0, "%s in upstream \"%V\" in %s:%ui", - u.err, &us->host, us->file_name.data, us->line); + u.err, &us->host, us->file_name, us->line); } return NGX_ERROR; |
