commit | 964c4a8c9ab7991d4267b54e65c61881c09fde78 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Fri Sep 21 13:47:33 2007 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Fri Sep 21 13:47:33 2007 +0000 |
tree | 0b59ba090ae41b688190b4a5e5cc37bc1d2ba46d | |
parent | 425b0afd7cf5c883f2f5ef17782c03253c85fc3c [diff] |
use "_" instead of " " as new line substitute, do not delete trailing new line
diff --git a/src/mail/ngx_mail_smtp_handler.c b/src/mail/ngx_mail_smtp_handler.c index 1a69602..96cb762 100644 --- a/src/mail/ngx_mail_smtp_handler.c +++ b/src/mail/ngx_mail_smtp_handler.c
@@ -539,15 +539,7 @@ continue; } - cmd.data[i] = ' '; - } - - while (i) { - if (cmd.data[i - 1] != ' ') { - break; - } - - i--; + cmd.data[i] = '_'; } cmd.len = i;