aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2014-08-20 13:13:27 +0400
committerValentin Bartenev <vbart@nginx.com>2014-08-20 13:13:27 +0400
commitc7efcf6ba6836045becd754e4b176ffbd5d3190b (patch)
tree560db5051492de44494917c9487d5210499c64a6 /src
parent8575dc35160512c9969cd75187e0ffc97a442d4b (diff)
downloadnginx-c7efcf6ba6836045becd754e4b176ffbd5d3190b.tar.gz
nginx-c7efcf6ba6836045becd754e4b176ffbd5d3190b.zip
Mail: fixed number of arguments allowed in the listen directive.
Diffstat (limited to 'src')
-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 4ee7c8dc3..a5388c847 100644
--- a/src/mail/ngx_mail_core_module.c
+++ b/src/mail/ngx_mail_core_module.c
@@ -41,7 +41,7 @@ static ngx_command_t ngx_mail_core_commands[] = {
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,