summaryrefslogtreecommitdiff
path: root/src/curl/curl.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-17 00:25:55 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-17 00:26:05 +0100
commit1126181ab98fd7e9e6cca0786939020b161fcb94 (patch)
tree59fbaf240b762ea9f3ed2330efc09c0adaf41387 /src/curl/curl.c
parent32b55237f2b94b4940d7031a0bc1adcf8b63824a (diff)
include buffer in main util header
Diffstat (limited to 'src/curl/curl.c')
-rw-r--r--src/curl/curl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/curl/curl.c b/src/curl/curl.c
index 82eb28ed9..01c7c5fca 100644
--- a/src/curl/curl.c
+++ b/src/curl/curl.c
@@ -556,7 +556,9 @@ GNUNET_CURL_download_get_result_ (struct GNUNET_CURL_DownloadBuffer *db,
}
if (0 != db->buf_size)
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
- "Did NOT detect response as JSON\n");
+ "Did NOT detect response `%.*s' as JSON\n",
+ (int) db->buf_size,
+ (const char *) db->buf);
return NULL;
}
json = NULL;