aboutsummaryrefslogtreecommitdiff
path: root/src/rest
diff options
context:
space:
mode:
Diffstat (limited to 'src/rest')
-rw-r--r--src/rest/rest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rest/rest.c b/src/rest/rest.c
index 95a5d0605..d04bfdee1 100644
--- a/src/rest/rest.c
+++ b/src/rest/rest.c
@@ -305,10 +305,10 @@ GNUNET_REST_jsonapi_object_delete (struct JsonApiObject *resp)
305 for (res = resp->res_list_head; 305 for (res = resp->res_list_head;
306 res != NULL;) 306 res != NULL;)
307 { 307 {
308 res_next = res->next;
308 GNUNET_CONTAINER_DLL_remove (resp->res_list_head, 309 GNUNET_CONTAINER_DLL_remove (resp->res_list_head,
309 resp->res_list_tail, 310 resp->res_list_tail,
310 res); 311 res);
311 res_next = res->next;
312 GNUNET_REST_jsonapi_resource_delete (res); 312 GNUNET_REST_jsonapi_resource_delete (res);
313 res = res_next; 313 res = res_next;
314 } 314 }