commit 0ab54831da32adf576be095eb22e6d112ac6be3f
parent c3768df09dfa507bffe7891a0f2b21873dc57624
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Tue, 2 Apr 2019 14:18:40 +0200
fix compilation warnings
Diffstat:
1 file changed, 2 insertions(+), 24 deletions(-)
diff --git a/src/twister/taler-twister-service.c b/src/twister/taler-twister-service.c
@@ -886,7 +886,8 @@ static int
con_val_iter (void *cls,
enum MHD_ValueKind kind,
const char *key,
- const char *value)
+ const char *value,
+ size_t value_size)
{
struct HttpRequest *hr = cls;
char *hdr;
@@ -1406,11 +1407,6 @@ create_response (void *cls,
if ('\0' != flip_path_ul[0])
{
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Going to flip the upload object (%.*s)\n",
- hr->io_len,
- hr->io_buf);
-
hr->json = json_loadb (hr->io_buf,
hr->io_len,
JSON_REJECT_DUPLICATES,
@@ -1424,20 +1420,11 @@ create_response (void *cls,
hr->io_len,
JSON_COMPACT);
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Flipped (?) upload object (%.*s)\n",
- hr->io_len,
- hr->io_buf);
json_decref (hr->json);
}
if ('\0' != modify_path_ul[0])
{
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Going to modify the upload object (%.*s)\n",
- hr->io_len,
- hr->io_buf);
-
hr->json = json_loads (hr->io_buf,
JSON_REJECT_DUPLICATES,
NULL);
@@ -1449,11 +1436,6 @@ create_response (void *cls,
hr->io_buf,
hr->io_len,
JSON_COMPACT);
-
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Modified (?) upload object (%.*s)\n",
- hr->io_len,
- hr->io_buf);
json_decref (hr->json);
}
@@ -1727,13 +1709,9 @@ create_response (void *cls,
if (NULL != hr->json)
{
- TALER_LOG_DEBUG ("Parsing final JSON.\n");
GNUNET_free (hr->io_buf);
hr->io_buf = json_dumps (hr->json, JSON_COMPACT);
hr->io_len = strlen (hr->io_buf);
- TALER_LOG_DEBUG ("%.*s\n",
- hr->io_len,
- hr->io_buf);
json_decref (hr->json);
}