set: more statistics
[oweals/gnunet.git] / src / set / gnunet-set-profiler.c
index 971d9746ad65a242788d5aa34b6e4a66fbb926c0..d83e034a684c8c396b4c5ede9e4168f35803a6c2 100644 (file)
@@ -162,6 +162,7 @@ check_all_done (void)
 static void
 set_result_cb (void *cls,
                const struct GNUNET_SET_Element *element,
+               uint64_t current_size,
                enum GNUNET_SET_Status status)
 {
   struct SetInfo *info = cls;
@@ -220,7 +221,7 @@ set_listen_cb (void *cls,
                struct GNUNET_SET_Request *request)
 {
   /* max. 2 options plus terminator */
-  struct GNUNET_SET_Option opts[3] = {0};
+  struct GNUNET_SET_Option opts[3] = {{0}};
   unsigned int n_opts = 0;
 
   if (NULL == request)
@@ -316,7 +317,7 @@ run (void *cls,
   unsigned int i;
   struct GNUNET_HashCode hash;
   /* max. 2 options plus terminator */
-  struct GNUNET_SET_Option opts[3] = {0};
+  struct GNUNET_SET_Option opts[3] = {{0}};
   unsigned int n_opts = 0;
 
   config = cfg;