mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 06:03:31 -06:00
log starttls
This commit is contained in:
parent
274b63ec34
commit
c4b3b5ae5f
@ -691,7 +691,9 @@ ngx_mail_log_error(ngx_log_t *log, u_char *buf, size_t len)
|
||||
return p;
|
||||
}
|
||||
|
||||
p = ngx_snprintf(buf, len, ", server: %V", s->addr_text);
|
||||
p = ngx_snprintf(buf, len, "%s, server: %V",
|
||||
s->starttls ? " using starttls" : "",
|
||||
s->addr_text);
|
||||
len -= p - buf;
|
||||
buf = p;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user