Mercurial > hg > nginx
comparison src/mail/ngx_mail_pop3_handler.c @ 1482:4606dce4f416
optimizations
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 14 Sep 2007 14:04:24 +0000 |
parents | a231e37a19ab |
children | 0e7074ef7303 |
comparison
equal
deleted
inserted
replaced
1481:b58ce1cf66da | 1482:4606dce4f416 |
---|---|
138 return; | 138 return; |
139 } | 139 } |
140 | 140 |
141 s->blocked = 0; | 141 s->blocked = 0; |
142 | 142 |
143 rc = ngx_mail_read_command(s); | 143 rc = ngx_mail_read_command(s, c); |
144 | 144 |
145 if (rc == NGX_AGAIN || rc == NGX_ERROR) { | 145 if (rc == NGX_AGAIN || rc == NGX_ERROR) { |
146 return; | 146 return; |
147 } | 147 } |
148 | 148 |
245 } | 245 } |
246 | 246 |
247 switch (rc) { | 247 switch (rc) { |
248 | 248 |
249 case NGX_DONE: | 249 case NGX_DONE: |
250 ngx_mail_auth(s); | 250 ngx_mail_auth(s, c); |
251 return; | 251 return; |
252 | 252 |
253 case NGX_ERROR: | 253 case NGX_ERROR: |
254 ngx_mail_session_internal_server_error(s); | 254 ngx_mail_session_internal_server_error(s); |
255 return; | 255 return; |