r1492 merge:

log starttls
This commit is contained in:
Igor Sysoev 2007-10-29 14:35:37 +00:00
parent 8c08a6115f
commit d8f7a2530d
1 changed files with 3 additions and 1 deletions

View File

@ -2139,7 +2139,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;