Mercurial > hg > nginx-quic
comparison src/core/ngx_resolver.c @ 6478:3ef7bb882ad4
Fixed logging with variable field width.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 31 Mar 2016 02:33:53 +0300 |
parents | 034329824dd3 |
children | 7640d6c213e1 |
comparison
equal
deleted
inserted
replaced
6477:47daf95d0138 | 6478:3ef7bb882ad4 |
---|---|
1871 dns_error_name: | 1871 dns_error_name: |
1872 | 1872 |
1873 ngx_log_error(r->log_level, r->log, 0, | 1873 ngx_log_error(r->log_level, r->log, 0, |
1874 "DNS error (%ui: %s), query id:%ui, name:\"%*s\"", | 1874 "DNS error (%ui: %s), query id:%ui, name:\"%*s\"", |
1875 code, ngx_resolver_strerror(code), ident, | 1875 code, ngx_resolver_strerror(code), ident, |
1876 rn->nlen, rn->name); | 1876 (size_t) rn->nlen, rn->name); |
1877 return; | 1877 return; |
1878 | 1878 |
1879 dns_error: | 1879 dns_error: |
1880 | 1880 |
1881 ngx_log_error(r->log_level, r->log, 0, | 1881 ngx_log_error(r->log_level, r->log, 0, |