comparison src/mail/ngx_mail_core_module.c @ 511:1e91f9968443

Merge with 0.7.47.
author Maxim Dounin <mdounin@mdounin.ru>
date Sun, 05 Apr 2009 03:35:26 +0400
parents 9205084bd1f3 76a79816b771
children 9773720b845e
comparison
equal deleted inserted replaced
484:c78a94ba4ae1 511:1e91f9968443
303 } 303 }
304 304
305 return NGX_CONF_ERROR; 305 return NGX_CONF_ERROR;
306 } 306 }
307 307
308 if (u.family != AF_INET) {
309 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "listen supports IPv4 only");
310 return NGX_CONF_ERROR;
311 }
312
308 cmcf = ngx_mail_conf_get_module_main_conf(cf, ngx_mail_core_module); 313 cmcf = ngx_mail_conf_get_module_main_conf(cf, ngx_mail_core_module);
309 314
310 imls = cmcf->listen.elts; 315 imls = cmcf->listen.elts;
311 316
312 for (i = 0; i < cmcf->listen.nelts; i++) { 317 for (i = 0; i < cmcf->listen.nelts; i++) {