diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2018-09-16 22:04:49 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-01-04 23:50:48 +0100 |
commit | fa2d6ba84d7f87148738f3cbccf29016dd324f87 (patch) | |
tree | 7015e5aa21deac71011e72d36322dfbfc38423a2 /lib/doh.c | |
parent | c7c362a24c0247644f9fde05e8ea353af4a94b04 (diff) | |
download | curl-fa2d6ba84d7f87148738f3cbccf29016dd324f87.tar.gz |
printf: fix format specifiers
Closes #3426
Diffstat (limited to 'lib/doh.c')
-rw-r--r-- | lib/doh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 2018, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 2018 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -160,7 +160,7 @@ static int Curl_doh_done(struct Curl_easy *doh, CURLcode result) struct Curl_easy *data = doh->set.dohfor; /* so one of the DOH request done for the 'data' transfer is now complete! */ data->req.doh.pending--; - infof(data, "a DOH request is completed, %d to go\n", data->req.doh.pending); + infof(data, "a DOH request is completed, %u to go\n", data->req.doh.pending); if(result) infof(data, "DOH request %s\n", curl_easy_strerror(result)); |