diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2004-09-13 16:18:09 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2004-09-13 16:18:09 +0000 |
| commit | 0292cbbe35cc6296a3128315a9a982fa2aa6832b (patch) | |
| tree | 595e5e0ad5b6d904d327f550398b31c34a932cad /src/http/ngx_http.c | |
| parent | 32e5771747809a31ed245a3299fefe19ace03ce6 (diff) | |
| download | nginx-0292cbbe35cc6296a3128315a9a982fa2aa6832b.tar.gz nginx-0292cbbe35cc6296a3128315a9a982fa2aa6832b.tar.bz2 | |
nginx-0.0.10-2004-09-13-20:18:09 import
Diffstat (limited to 'src/http/ngx_http.c')
| -rw-r--r-- | src/http/ngx_http.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index 391bd1bf8..9eb023809 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -418,10 +418,10 @@ static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) in_port->port = lscf[l].port; - ngx_test_null(in_port->port_name.data, ngx_palloc(cf->pool, 7), + ngx_test_null(in_port->port_text.data, ngx_palloc(cf->pool, 7), NGX_CONF_ERROR); - in_port->port_name.len = ngx_snprintf((char *) - in_port->port_name.data, + in_port->port_text.len = ngx_snprintf((char *) + in_port->port_text.data, 7, ":%d", in_port->port); @@ -549,7 +549,7 @@ static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) NGX_CONF_ERROR); inport->port = in_port[p].port; - inport->port_name = in_port[p].port_name; + inport->port_text = in_port[p].port_text; /* init list of the addresses ... */ |
