summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nginx/src/mail/ngx_mail_auth_http_module.c
diff options
context:
space:
mode:
authorrobert <robert@openbsd.org>2012-01-05 12:28:58 +0000
committerrobert <robert@openbsd.org>2012-01-05 12:28:58 +0000
commit79a58b938f55fd9f7302ccafddf487453d11fb74 (patch)
tree3d175cfbdd2d88c13319b2e008ebeb391a6857b5 /usr.sbin/nginx/src/mail/ngx_mail_auth_http_module.c
parentFix typos in comment (s,exacty,exactly,) (diff)
downloadwireguard-openbsd-79a58b938f55fd9f7302ccafddf487453d11fb74.tar.xz
wireguard-openbsd-79a58b938f55fd9f7302ccafddf487453d11fb74.zip
update to nginx-1.0.11
Diffstat (limited to 'usr.sbin/nginx/src/mail/ngx_mail_auth_http_module.c')
-rw-r--r--usr.sbin/nginx/src/mail/ngx_mail_auth_http_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nginx/src/mail/ngx_mail_auth_http_module.c b/usr.sbin/nginx/src/mail/ngx_mail_auth_http_module.c
index d54a392ac44..c823326902c 100644
--- a/usr.sbin/nginx/src/mail/ngx_mail_auth_http_module.c
+++ b/usr.sbin/nginx/src/mail/ngx_mail_auth_http_module.c
@@ -783,7 +783,7 @@ ngx_mail_auth_http_process_headers(ngx_mail_session_t *s,
sin->sin_family = AF_INET;
port = ngx_atoi(ctx->port.data, ctx->port.len);
- if (port == NGX_ERROR || port < 1 || port > 65536) {
+ if (port == NGX_ERROR || port < 1 || port > 65535) {
ngx_log_error(NGX_LOG_ERR, s->connection->log, 0,
"auth http server %V sent invalid server "
"port:\"%V\"",