diff options
Diffstat (limited to 'src/namestore/plugin_rest_namestore.c')
-rw-r--r-- | src/namestore/plugin_rest_namestore.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/namestore/plugin_rest_namestore.c b/src/namestore/plugin_rest_namestore.c index d33bf483b..c47a6a3c8 100644 --- a/src/namestore/plugin_rest_namestore.c +++ b/src/namestore/plugin_rest_namestore.c | |||
@@ -744,7 +744,8 @@ namestore_create_cont (struct RestConnectionDataHandle *con, | |||
744 | } | 744 | } |
745 | term_data[handle->data_size] = '\0'; | 745 | term_data[handle->data_size] = '\0'; |
746 | memcpy (term_data, handle->data, handle->data_size); | 746 | memcpy (term_data, handle->data, handle->data_size); |
747 | json_obj = GNUNET_JSONAPI_object_parse (term_data); | 747 | GNUNET_assert (GNUNET_OK == GNUNET_JSONAPI_object_parse (term_data, |
748 | &json_obj)); | ||
748 | if (NULL == json_obj) | 749 | if (NULL == json_obj) |
749 | { | 750 | { |
750 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 751 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |