comparison src/mail/ngx_mail_imap_handler.c @ 1482:4606dce4f416

optimizations
author Igor Sysoev <igor@sysoev.ru>
date Fri, 14 Sep 2007 14:04:24 +0000
parents a231e37a19ab
children b3488fc2675a
comparison
equal deleted inserted replaced
1481:b58ce1cf66da 1482:4606dce4f416
132 return; 132 return;
133 } 133 }
134 134
135 s->blocked = 0; 135 s->blocked = 0;
136 136
137 rc = ngx_mail_read_command(s); 137 rc = ngx_mail_read_command(s, c);
138 138
139 if (rc == NGX_AGAIN || rc == NGX_ERROR) { 139 if (rc == NGX_AGAIN || rc == NGX_ERROR) {
140 return; 140 return;
141 } 141 }
142 142
240 } 240 }
241 241
242 switch (rc) { 242 switch (rc) {
243 243
244 case NGX_DONE: 244 case NGX_DONE:
245 ngx_mail_auth(s); 245 ngx_mail_auth(s, c);
246 return; 246 return;
247 247
248 case NGX_ERROR: 248 case NGX_ERROR:
249 ngx_mail_session_internal_server_error(s); 249 ngx_mail_session_internal_server_error(s);
250 return; 250 return;