summaryrefslogtreecommitdiff
path: root/src/curl/curl.c
diff options
context:
space:
mode:
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;