Mercurial > hg > nginx
diff src/imap/ngx_imap_auth_http_module.c @ 906:a0310ac2814f
rewritten upstream
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 12 Dec 2006 16:46:16 +0000 |
parents | 4d68c486fcb0 |
children | db7c468c447d |
line wrap: on
line diff
--- a/src/imap/ngx_imap_auth_http_module.c Tue Dec 12 15:46:53 2006 +0000 +++ b/src/imap/ngx_imap_auth_http_module.c Tue Dec 12 16:46:16 2006 +0000 @@ -1291,7 +1291,7 @@ ngx_memzero(&u, sizeof(ngx_url_t)); u.url = value[1]; - u.default_portn = 80; + u.default_port = 80; u.uri_part = 1; u.one_addr = 1; @@ -1304,7 +1304,7 @@ ahcf->peer = u.addrs; - ahcf->host_header = u.host_header; + ahcf->host_header = u.host; ahcf->uri = u.uri; if (ahcf->uri.len == 0) {