diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mail/ngx_mail_smtp_handler.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mail/ngx_mail_smtp_handler.c b/src/mail/ngx_mail_smtp_handler.c index 1a69602dc..96cb762ed 100644 --- a/src/mail/ngx_mail_smtp_handler.c +++ b/src/mail/ngx_mail_smtp_handler.c @@ -539,15 +539,7 @@ ngx_mail_smtp_log_rejected_command(ngx_mail_session_t *s, ngx_connection_t *c, continue; } - cmd.data[i] = ' '; - } - - while (i) { - if (cmd.data[i - 1] != ' ') { - break; - } - - i--; + cmd.data[i] = '_'; } cmd.len = i; |