diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-02-27 11:43:48 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-02-27 11:43:48 +0100 |
commit | 70fb2c92c5e9a213f9d1f055f2eb244a9d728187 (patch) | |
tree | 99a3439d3f753fd48b85989aa2c64600664dbe46 /src/backend/taler-merchant-httpd_history.c | |
parent | 5b8db592ecf5409fe7682df7891703b95bfa3de9 (diff) | |
download | merchant-70fb2c92c5e9a213f9d1f055f2eb244a9d728187.tar.gz merchant-70fb2c92c5e9a213f9d1f055f2eb244a9d728187.tar.bz2 merchant-70fb2c92c5e9a213f9d1f055f2eb244a9d728187.zip |
Fix #4925.
Diffstat (limited to 'src/backend/taler-merchant-httpd_history.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_history.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/backend/taler-merchant-httpd_history.c b/src/backend/taler-merchant-httpd_history.c index 79dd179a..07c30041 100644 --- a/src/backend/taler-merchant-httpd_history.c +++ b/src/backend/taler-merchant-httpd_history.c @@ -48,7 +48,7 @@ pd_cb (void *cls, json_t *amount; json_t *timestamp; - GNUNET_assert (NULL != (amount = json_object_get (proposal_data, "amount"))); + GNUNET_assert (NULL != (amount = json_copy (json_object_get (proposal_data, "amount")))); GNUNET_assert (NULL != (timestamp = json_object_get (proposal_data, "timestamp"))); GNUNET_break (NULL != @@ -58,10 +58,6 @@ pd_cb (void *cls, "timestamp", json_string_value (timestamp)))); GNUNET_break (0 == json_array_append_new (response, entry)); - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "growing history data: %s\nptr: %p\n", - json_dumps (response, JSON_INDENT (1)), - response); } /** |