diff options
author | Ruslan Ermilov <ru@nginx.com> | 2015-03-04 08:05:38 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2015-03-04 08:05:38 +0300 |
commit | 466b3b9250ba655b40a05652041463e74196cea8 (patch) | |
tree | 4838b8680c7a835c5c5e3799ccc8058f8ea3320b /src | |
parent | a9a01e09380466339cc2f7769e7d0263841cded1 (diff) | |
download | nginx-466b3b9250ba655b40a05652041463e74196cea8.tar.gz nginx-466b3b9250ba655b40a05652041463e74196cea8.zip |
Style: use %*s format, as in 68d21fd1dc64.
Diffstat (limited to 'src')
-rw-r--r-- | src/mail/ngx_mail_auth_http_module.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mail/ngx_mail_auth_http_module.c b/src/mail/ngx_mail_auth_http_module.c index e4fbb0d26..d93e94644 100644 --- a/src/mail/ngx_mail_auth_http_module.c +++ b/src/mail/ngx_mail_auth_http_module.c @@ -1394,14 +1394,9 @@ ngx_mail_auth_http_create_request(ngx_mail_session_t *s, ngx_pool_t *pool, *b->last++ = CR; *b->last++ = LF; #if (NGX_DEBUG_MAIL_PASSWD) - { - ngx_str_t l; - - l.len = b->last - b->pos; - l.data = b->pos; - ngx_log_debug1(NGX_LOG_DEBUG_MAIL, s->connection->log, 0, - "mail auth http header:%N\"%V\"", &l); - } + ngx_log_debug2(NGX_LOG_DEBUG_MAIL, s->connection->log, 0, + "mail auth http header:%N\"%*s\"", + (size_t) (b->last - b->pos), b->pos); #endif return b; |