diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2016-03-31 02:33:53 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2016-03-31 02:33:53 +0300 |
commit | c622ff3b44ff57663ccd67f3830a6a84d20acd8f (patch) | |
tree | 5bd2ae274324d29ee4ba5cdfac0cbfb3d9ddfa46 /src/core/ngx_resolver.c | |
parent | 2e25f340b8848561a00993f88bdf1723b77fbabe (diff) |
Fixed logging with variable field width.
Diffstat (limited to 'src/core/ngx_resolver.c')
-rw-r--r-- | src/core/ngx_resolver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_resolver.c b/src/core/ngx_resolver.c index 38bf95633..3c52de846 100644 --- a/src/core/ngx_resolver.c +++ b/src/core/ngx_resolver.c @@ -1873,7 +1873,7 @@ dns_error_name: ngx_log_error(r->log_level, r->log, 0, "DNS error (%ui: %s), query id:%ui, name:\"%*s\"", code, ngx_resolver_strerror(code), ident, - rn->nlen, rn->name); + (size_t) rn->nlen, rn->name); return; dns_error: |