aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_auth_basic_module.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2016-03-31 02:33:57 +0300
committerSergey Kandaurov <pluknet@nginx.com>2016-03-31 02:33:57 +0300
commit00ef9ff5f03ce7e98ba64c3644da25e5a0d659fc (patch)
tree626c5e25054a4d4f96e58efd2da07343ae58bd80 /src/http/modules/ngx_http_auth_basic_module.c
parent53fec2c4149028c8d30ce58d79674502358da773 (diff)
downloadnginx-00ef9ff5f03ce7e98ba64c3644da25e5a0d659fc.tar.gz
nginx-00ef9ff5f03ce7e98ba64c3644da25e5a0d659fc.zip
Fixed logging.
Diffstat (limited to 'src/http/modules/ngx_http_auth_basic_module.c')
-rw-r--r--src/http/modules/ngx_http_auth_basic_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_auth_basic_module.c b/src/http/modules/ngx_http_auth_basic_module.c
index 8ec53295f..1e7a0c2df 100644
--- a/src/http/modules/ngx_http_auth_basic_module.c
+++ b/src/http/modules/ngx_http_auth_basic_module.c
@@ -298,7 +298,7 @@ ngx_http_auth_basic_crypt_handler(ngx_http_request_t *r,
&encrypted);
ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
- "rc: %d user: \"%V\" salt: \"%s\"",
+ "rc: %i user: \"%V\" salt: \"%s\"",
rc, &r->headers_in.user, passwd->data);
if (rc == NGX_OK) {