comparison src/imap/ngx_imap_handler.c @ 116:e38f51cd0905 NGINX_0_3_5

nginx 0.3.5 *) Bugfix: the segmentation fault may occurred if the IMAP/POP3 login was changed by authorization server; bug appeared in 0.2.2. *) Bugfix: the accept mutex did not work and all connections were handled by one process; bug appeared in 0.3.3. *) Bugfix: the timeout did not work if the "rtsig" method and the "timer_resolution" directive were used.
author Igor Sysoev <http://sysoev.ru>
date Fri, 21 Oct 2005 00:00:00 +0400
parents ca4f70b3ccc6
children 644a7935144b
comparison
equal deleted inserted replaced
115:45a230988aa5 116:e38f51cd0905
765 765
766 766
767 static u_char * 767 static u_char *
768 ngx_imap_log_error(ngx_log_t *log, u_char *buf, size_t len) 768 ngx_imap_log_error(ngx_log_t *log, u_char *buf, size_t len)
769 { 769 {
770 u_char *p; 770 u_char *p;
771 ngx_imap_session_t *s; 771 ngx_imap_session_t *s;
772 ngx_imap_log_ctx_t *ctx; 772 ngx_imap_log_ctx_t *ctx;
773 773
774 if (log->action) { 774 if (log->action) {
775 p = ngx_snprintf(buf, len, " while %s", log->action); 775 p = ngx_snprintf(buf, len, " while %s", log->action);
776 len -= p - buf; 776 len -= p - buf;
777 buf = p; 777 buf = p;