Welcome! Log In Create A New Profile

Advanced

[nginx] Style: use %*s format, as in 68d21fd1dc64.

Ruslan Ermilov
March 05, 2015 01:18AM
details: http://hg.nginx.org/nginx/rev/add12ee1d01c
branches:
changeset: 6001:add12ee1d01c
user: Ruslan Ermilov <ru@nginx.com>
date: Wed Mar 04 08:05:38 2015 +0300
description:
Style: use %*s format, as in 68d21fd1dc64.

diffstat:

src/mail/ngx_mail_auth_http_module.c | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)

diffs (21 lines):

diff -r 93fee708f168 -r add12ee1d01c src/mail/ngx_mail_auth_http_module.c
--- a/src/mail/ngx_mail_auth_http_module.c Wed Mar 04 19:20:30 2015 +0300
+++ b/src/mail/ngx_mail_auth_http_module.c Wed Mar 04 08:05:38 2015 +0300
@@ -1394,14 +1394,9 @@ ngx_mail_auth_http_create_request(ngx_ma
*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;

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Style: use %*s format, as in 68d21fd1dc64.

Ruslan Ermilov 501 March 05, 2015 01:18AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 153
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready