X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fset%2Fgnunet-set-profiler.c;h=d83e034a684c8c396b4c5ede9e4168f35803a6c2;hb=f56a318a49c109d0246d4b5d188cffb50d2b91c8;hp=971d9746ad65a242788d5aa34b6e4a66fbb926c0;hpb=b7002d3f8016478d716236238bd43a7c06c924d2;p=oweals%2Fgnunet.git diff --git a/src/set/gnunet-set-profiler.c b/src/set/gnunet-set-profiler.c index 971d9746a..d83e034a6 100644 --- a/src/set/gnunet-set-profiler.c +++ b/src/set/gnunet-set-profiler.c @@ -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;