aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/plugin_rest_namestore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/plugin_rest_namestore.c')
-rw-r--r--src/namestore/plugin_rest_namestore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namestore/plugin_rest_namestore.c b/src/namestore/plugin_rest_namestore.c
index 78b6398c6..35d3595ce 100644
--- a/src/namestore/plugin_rest_namestore.c
+++ b/src/namestore/plugin_rest_namestore.c
@@ -744,7 +744,7 @@ namestore_create_cont (struct GNUNET_REST_RequestHandle *con,
744 return; 744 return;
745 } 745 }
746 term_data[handle->rest_handle->data_size] = '\0'; 746 term_data[handle->rest_handle->data_size] = '\0';
747 memcpy (term_data, 747 GNUNET_memcpy (term_data,
748 handle->rest_handle->data, 748 handle->rest_handle->data,
749 handle->rest_handle->data_size); 749 handle->rest_handle->data_size);
750 data_js = json_loads (term_data, 750 data_js = json_loads (term_data,