summaryrefslogtreecommitdiff
path: root/lib/doh.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2018-09-16 22:04:49 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-01-04 23:50:48 +0100
commitfa2d6ba84d7f87148738f3cbccf29016dd324f87 (patch)
tree7015e5aa21deac71011e72d36322dfbfc38423a2 /lib/doh.c
parentc7c362a24c0247644f9fde05e8ea353af4a94b04 (diff)
downloadcurl-fa2d6ba84d7f87148738f3cbccf29016dd324f87.tar.gz
printf: fix format specifiers
Closes #3426
Diffstat (limited to 'lib/doh.c')
-rw-r--r--lib/doh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/doh.c b/lib/doh.c
index 1e76c96f9..f06ed3311 100644
--- a/lib/doh.c
+++ b/lib/doh.c
@@ -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));