From 2422950571cfe7233bc402001d2f9dd1ffd6f26c Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 14 Sep 2007 14:04:24 +0000 Subject: optimizations --- src/mail/ngx_mail_smtp_handler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mail/ngx_mail_smtp_handler.c') diff --git a/src/mail/ngx_mail_smtp_handler.c b/src/mail/ngx_mail_smtp_handler.c index 4b695876f..26b1da92e 100644 --- a/src/mail/ngx_mail_smtp_handler.c +++ b/src/mail/ngx_mail_smtp_handler.c @@ -188,7 +188,7 @@ ngx_mail_smtp_auth_state(ngx_event_t *rev) s->blocked = 0; - rc = ngx_mail_read_command(s); + rc = ngx_mail_read_command(s, c); if (rc == NGX_AGAIN || rc == NGX_ERROR) { return; @@ -263,7 +263,7 @@ ngx_mail_smtp_auth_state(ngx_event_t *rev) switch (rc) { case NGX_DONE: - ngx_mail_auth(s); + ngx_mail_auth(s, c); return; case NGX_ERROR: -- cgit