mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 06:03:31 -06:00
use "_" instead of " " as new line substitute, do not delete trailing new line
This commit is contained in:
parent
425b0afd7c
commit
964c4a8c9a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user