doxygen
[oweals/gnunet.git] / src / experimentation / gnunet-daemon-experimentation_experiments.c
index d6ee32c566938653b654e781858c12c8f95e6b2b..09fd8d1ec47bf4a087a8c53c26da5e9778f6daaf 100644 (file)
@@ -56,7 +56,7 @@ static struct GNUNET_CONTAINER_MultiHashMap *experiments;
 
 uint32_t GSE_my_issuer_count;
 
-struct Experimentation_Request_Issuer *GSE_my_issuer;
+struct Experimentation_Issuer *GSE_my_issuer;
 
 
 /**
@@ -150,10 +150,6 @@ get_it (void *cls,
        struct GetCtx *get_ctx = cls;
        struct Experiment *e = value;
 
-       /* Check compability */
-       if (get_ctx->n->version.abs_value != e->version.abs_value)
-               return GNUNET_OK;
-
        get_ctx->get_cb (get_ctx->n, e);
 
        return GNUNET_OK;
@@ -237,7 +233,7 @@ int GNUNET_EXPERIMENTATION_experiments_add (struct Issuer *i,
  * Parse a configuration section containing experiments
  *
  * @param cls configuration handle
- * @param section section name
+ * @param name section name
  */
 void exp_file_iterator (void *cls,
                                                                                                const char *name)
@@ -418,9 +414,9 @@ GNUNET_EXPERIMENTATION_experiments_start ()
        }
 
        GSE_my_issuer_count = GNUNET_CONTAINER_multihashmap_size (valid_issuers);
-       GSE_my_issuer = GNUNET_malloc (GSE_my_issuer_count * sizeof (struct Experimentation_Request_Issuer));
+       GSE_my_issuer = GNUNET_malloc (GSE_my_issuer_count * sizeof (struct Experimentation_Issuer));
        GNUNET_CONTAINER_multihashmap_iterate (valid_issuers, &create_issuer, GSE_my_issuer);
-       GNUNET_log (GNUNET_ERROR_TYPE_ERROR, _("Daemon has %u issuers\n"), GSE_my_issuer_count);
+       GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("Daemon has %u issuers\n"), GSE_my_issuer_count);
 
   experiments = GNUNET_CONTAINER_multihashmap_create (10, GNUNET_NO);
   /* Load experiments from file */