diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-12-12 16:46:16 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-12-12 16:46:16 +0000 |
commit | bf3aaac7ac691d142201daaf7fa687d4760bbf22 (patch) | |
tree | b8708eb68217a48d66762506c6d78c0b66227ec3 /src/imap/ngx_imap_auth_http_module.c | |
parent | 63ba5a61b59142048400b0a5e434abb7c7b98e2a (diff) | |
download | nginx-bf3aaac7ac691d142201daaf7fa687d4760bbf22.tar.gz nginx-bf3aaac7ac691d142201daaf7fa687d4760bbf22.zip |
rewritten upstream
Diffstat (limited to 'src/imap/ngx_imap_auth_http_module.c')
-rw-r--r-- | src/imap/ngx_imap_auth_http_module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imap/ngx_imap_auth_http_module.c b/src/imap/ngx_imap_auth_http_module.c index e1518b8c3..668a952fa 100644 --- a/src/imap/ngx_imap_auth_http_module.c +++ b/src/imap/ngx_imap_auth_http_module.c @@ -1291,7 +1291,7 @@ ngx_imap_auth_http(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) 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 @@ ngx_imap_auth_http(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) ahcf->peer = u.addrs; - ahcf->host_header = u.host_header; + ahcf->host_header = u.host; ahcf->uri = u.uri; if (ahcf->uri.len == 0) { |