aboutsummaryrefslogtreecommitdiff
path: root/src/mail/ngx_mail.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-03-24 13:04:02 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-03-24 13:04:02 +0000
commitde8ec1efc8fae8f4e86a518c1c86225b9ba62de6 (patch)
tree1ba5aaa3099dcbc18f7248657ea8c0276f4e6964 /src/mail/ngx_mail.c
parent8634118bc82c8f9a5b43abe863edcee24aa878a8 (diff)
downloadnginx-de8ec1efc8fae8f4e86a518c1c86225b9ba62de6.tar.gz
nginx-de8ec1efc8fae8f4e86a518c1c86225b9ba62de6.zip
use ngx_int_t in ngx_sort() callback
Diffstat (limited to 'src/mail/ngx_mail.c')
-rw-r--r--src/mail/ngx_mail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mail/ngx_mail.c b/src/mail/ngx_mail.c
index 95d29e893..00c255040 100644
--- a/src/mail/ngx_mail.c
+++ b/src/mail/ngx_mail.c
@@ -11,7 +11,7 @@
static char *ngx_mail_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);
-static int ngx_mail_cmp_conf_in_addrs(const void *one, const void *two);
+static ngx_int_t ngx_mail_cmp_conf_in_addrs(const void *one, const void *two);
ngx_uint_t ngx_mail_max_module;
@@ -388,7 +388,7 @@ ngx_mail_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
}
-static int
+static ngx_int_t
ngx_mail_cmp_conf_in_addrs(const void *one, const void *two)
{
ngx_mail_conf_in_addr_t *first, *second;