diff options
Diffstat (limited to 'src/restclient/anastasis_api_truth_store.c')
-rw-r--r-- | src/restclient/anastasis_api_truth_store.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/restclient/anastasis_api_truth_store.c b/src/restclient/anastasis_api_truth_store.c index 185e06b..74b9238 100644 --- a/src/restclient/anastasis_api_truth_store.c +++ b/src/restclient/anastasis_api_truth_store.c | |||
@@ -303,10 +303,9 @@ ANASTASIS_truth_store ( | |||
303 | GNUNET_JSON_pack_data_varsize ("encrypted_truth", | 303 | GNUNET_JSON_pack_data_varsize ("encrypted_truth", |
304 | encrypted_truth, | 304 | encrypted_truth, |
305 | encrypted_truth_size), | 305 | encrypted_truth_size), |
306 | GNUNET_JSON_pack_string ("truth_mime", | 306 | GNUNET_JSON_pack_allow_null ( |
307 | (NULL != truth_mime) | 307 | GNUNET_JSON_pack_string ("truth_mime", |
308 | ? truth_mime | 308 | truth_mime)), |
309 | : ""), | ||
310 | GNUNET_JSON_pack_uint64 ("storage_duration_years", | 309 | GNUNET_JSON_pack_uint64 ("storage_duration_years", |
311 | payment_years_requested)); | 310 | payment_years_requested)); |
312 | json_str = json_dumps (truth_data, | 311 | json_str = json_dumps (truth_data, |