aboutsummaryrefslogtreecommitdiff
path: root/src/mail/ngx_mail_handler.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-05-04 19:34:59 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-05-04 19:34:59 +0000
commit4c9d36765c6d4949825c8399930e208cebff918d (patch)
tree53cafc5939f850ab32887856eb6b9be682b1d184 /src/mail/ngx_mail_handler.c
parent63d0bea178090e898a1b70eaf83cd26bd7586ce2 (diff)
downloadnginx-4c9d36765c6d4949825c8399930e208cebff918d.tar.gz
nginx-4c9d36765c6d4949825c8399930e208cebff918d.zip
axe imap module artifacts
Diffstat (limited to 'src/mail/ngx_mail_handler.c')
-rw-r--r--src/mail/ngx_mail_handler.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mail/ngx_mail_handler.c b/src/mail/ngx_mail_handler.c
index 0863d6dfe..44ebdede2 100644
--- a/src/mail/ngx_mail_handler.c
+++ b/src/mail/ngx_mail_handler.c
@@ -26,20 +26,20 @@ ngx_mail_init_connection(ngx_connection_t *c)
ngx_uint_t i;
struct sockaddr_in sin;
ngx_mail_log_ctx_t *ctx;
- ngx_mail_in_port_t *imip;
- ngx_mail_in_addr_t *imia;
+ ngx_mail_in_port_t *mip;
+ ngx_mail_in_addr_t *mia;
ngx_mail_session_t *s;
/* find the server configuration for the address:port */
/* AF_INET only */
- imip = c->listening->servers;
- imia = imip->addrs;
+ mip = c->listening->servers;
+ mia = mip->addrs;
i = 0;
- if (imip->naddrs > 1) {
+ if (mip->naddrs > 1) {
/*
* There are several addresses on this port and one of them
@@ -70,8 +70,8 @@ ngx_mail_init_connection(ngx_connection_t *c)
/* the last address is "*" */
- for ( /* void */ ; i < imip->naddrs - 1; i++) {
- if (in_addr == imia[i].addr) {
+ for ( /* void */ ; i < mip->naddrs - 1; i++) {
+ if (in_addr == mia[i].addr) {
break;
}
}
@@ -84,10 +84,10 @@ ngx_mail_init_connection(ngx_connection_t *c)
return;
}
- s->main_conf = imia[i].ctx->main_conf;
- s->srv_conf = imia[i].ctx->srv_conf;
+ s->main_conf = mia[i].ctx->main_conf;
+ s->srv_conf = mia[i].ctx->srv_conf;
- s->addr_text = &imia[i].addr_text;
+ s->addr_text = &mia[i].addr_text;
c->data = s;
s->connection = c;
@@ -124,7 +124,7 @@ ngx_mail_init_connection(ngx_connection_t *c)
return;
}
- if (imia[i].ssl) {
+ if (mia[i].ssl) {
c->log->action = "SSL handshaking";