[nginx] Mail: fixed number of arguments allowed in the listen di...

Valentin Bartenev vbart at nginx.com
Wed Aug 20 09:15:32 UTC 2014


details:   http://hg.nginx.org/nginx/rev/bb26f7ceaaf1
branches:  
changeset: 5809:bb26f7ceaaf1
user:      Valentin Bartenev <vbart at nginx.com>
date:      Wed Aug 20 13:13:27 2014 +0400
description:
Mail: fixed number of arguments allowed in the listen directive.

diffstat:

 src/mail/ngx_mail_core_module.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a305a4477af0 -r bb26f7ceaaf1 src/mail/ngx_mail_core_module.c
--- a/src/mail/ngx_mail_core_module.c	Wed Aug 20 13:13:27 2014 +0400
+++ b/src/mail/ngx_mail_core_module.c	Wed Aug 20 13:13:27 2014 +0400
@@ -41,7 +41,7 @@ static ngx_command_t  ngx_mail_core_comm
       NULL },
 
     { ngx_string("listen"),
-      NGX_MAIL_SRV_CONF|NGX_CONF_TAKE12,
+      NGX_MAIL_SRV_CONF|NGX_CONF_1MORE,
       ngx_mail_core_listen,
       NGX_MAIL_SRV_CONF_OFFSET,
       0,



More information about the nginx-devel mailing list