aboutsummaryrefslogtreecommitdiff
path: root/src/mail/ngx_mail_core_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-08-26 14:24:14 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-08-26 14:24:14 +0000
commitc9491d113c47b36fec61c37b9c66905f097d92cb (patch)
tree620685717cf70aa86bbc72387c3eb598bcc7cb6c /src/mail/ngx_mail_core_module.c
parent9c388c0a7fc86beeb584744b5bd5884884111732 (diff)
downloadnginx-c9491d113c47b36fec61c37b9c66905f097d92cb.tar.gz
nginx-c9491d113c47b36fec61c37b9c66905f097d92cb.zip
*) refactor ngx_parse_inet_url()
*) refactor ngx_parse_unix_domain_url() *) delete unused ngx_url_t fields
Diffstat (limited to 'src/mail/ngx_mail_core_module.c')
-rw-r--r--src/mail/ngx_mail_core_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mail/ngx_mail_core_module.c b/src/mail/ngx_mail_core_module.c
index e52ea5750..07e3ab665 100644
--- a/src/mail/ngx_mail_core_module.c
+++ b/src/mail/ngx_mail_core_module.c
@@ -329,7 +329,7 @@ ngx_mail_core_listen(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
imls->addr = u.addr.in_addr;
imls->port = u.port;
- imls->family = AF_INET;
+ imls->family = u.family;
imls->ctx = cf->ctx;
for (m = 0; ngx_modules[m]; m++) {