diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-09-08 05:18:51 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-09-08 05:18:51 +0000 |
commit | 0d9da9b6c3c4842eade3034e6e1f3ea140d08d6d (patch) | |
tree | e4a33bef9c97c1291fc693921ca4c555b242a7e9 /src/imap/ngx_imap_handler.c | |
parent | 59cf56c5d975725be9e2adc84170ffe0c638fa48 (diff) | |
download | nginx-0d9da9b6c3c4842eade3034e6e1f3ea140d08d6d.tar.gz nginx-0d9da9b6c3c4842eade3034e6e1f3ea140d08d6d.zip |
nginx-0.0.10-2004-09-08-09:18:51 import
Diffstat (limited to 'src/imap/ngx_imap_handler.c')
-rw-r--r-- | src/imap/ngx_imap_handler.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/imap/ngx_imap_handler.c b/src/imap/ngx_imap_handler.c index bbedc9c56..61c59c98d 100644 --- a/src/imap/ngx_imap_handler.c +++ b/src/imap/ngx_imap_handler.c @@ -15,16 +15,16 @@ static char imap_greeting[] = "* OK " NGINX_VER " ready" CRLF; void ngx_imap_init_connection(ngx_connection_t *c) { - ngx_int_t rc; + ngx_int_t n; ngx_log_debug0(NGX_LOG_DEBUG_IMAP, c->log, 0, "imap init connection"); c->log_error = NGX_ERROR_INFO; - rc = ngx_send(c, pop3_greeting, sizeof(pop3_greeting) - 1); + n = ngx_send(c, pop3_greeting, sizeof(pop3_greeting) - 1); - if (rc == NGX_ERROR) { + if (n == NGX_ERROR) { ngx_imap_close_connection(c); return; } |