mirror of
https://github.com/nginx/nginx.git
synced 2025-06-13 06:12:44 +08: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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd.data[i] = ' ';
|
cmd.data[i] = '_';
|
||||||
}
|
|
||||||
|
|
||||||
while (i) {
|
|
||||||
if (cmd.data[i - 1] != ' ') {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
i--;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd.len = i;
|
cmd.len = i;
|
||||||
|
Loading…
Reference in New Issue
Block a user