comparison src/mail/ngx_mail_auth_http_module.c @ 1166:bde5e4134759

style fix: remove tabs
author Igor Sysoev <igor@sysoev.ru>
date Wed, 18 Apr 2007 15:21:28 +0000
parents 68f30ab68bb7
children 0c10dc6a8e74
comparison
equal deleted inserted replaced
1165:efb7d84db340 1166:bde5e4134759
684 } 684 }
685 685
686 ctx->err.len = ctx->errcode.len + ctx->errmsg.len 686 ctx->err.len = ctx->errcode.len + ctx->errmsg.len
687 + sizeof(" " CRLF) - 1; 687 + sizeof(" " CRLF) - 1;
688 688
689 p = ngx_palloc(s->connection->pool, ctx->err.len); 689 p = ngx_palloc(s->connection->pool, ctx->err.len);
690 if (p == NULL) { 690 if (p == NULL) {
691 ngx_close_connection(ctx->peer.connection); 691 ngx_close_connection(ctx->peer.connection);
692 ngx_destroy_pool(ctx->pool); 692 ngx_destroy_pool(ctx->pool);
693 ngx_mail_session_internal_server_error(s); 693 ngx_mail_session_internal_server_error(s);
694 return; 694 return;
695 } 695 }
696 696
697 ctx->err.data = p; 697 ctx->err.data = p;
698 698
699 p = ngx_cpymem(p, ctx->errcode.data, ctx->errcode.len); 699 p = ngx_cpymem(p, ctx->errcode.data, ctx->errcode.len);
700 *p++ = ' '; 700 *p++ = ' ';
701 p = ngx_cpymem(p, ctx->errmsg.data, ctx->errmsg.len); 701 p = ngx_cpymem(p, ctx->errmsg.data, ctx->errmsg.len);
702 *p++ = CR; *p = LF; 702 *p++ = CR; *p = LF;
703 } 703 }
704 704
705 s->out = ctx->err; 705 s->out = ctx->err;
706 timer = ctx->sleep; 706 timer = ctx->sleep;