-fix off-by-1
[oweals/gnunet.git] / src / statistics / statistics_api.c
index 2b491df72ec663c1431d066633a10ced691d9c64..32b973eeccfe8af5ab306a6a7ee536c018af0625 100644 (file)
@@ -1217,7 +1217,8 @@ GNUNET_STATISTICS_get (struct GNUNET_STATISTICS_Handle *handle,
   ai->timeout_task = GNUNET_SCHEDULER_add_delayed (timeout,
                                                    &run_get_timeout,
                                                    ai);
-  GNUNET_CONTAINER_DLL_insert_tail (handle->action_head, handle->action_tail,
+  GNUNET_CONTAINER_DLL_insert_tail (handle->action_head,
+                                   handle->action_tail,
                                    ai);
   schedule_action (handle);
   return ai;