* @author Matthias Wachs
*/
#include "platform.h"
-#include "gnunet_getopt_lib.h"
#include "gnunet_util_lib.h"
#include "gnunet_core_service.h"
#include "gnunet_statistics_service.h"
/**
* Capabilities defined at the moment
*/
-#define GNUNET_EXPERIMENTATION_capabilities_count 11;
+#define GNUNET_EXPERIMENTATION_capabilities_count 11
/**
if (test != cap)
return "UNDEFINED";
- if (index <= 11)
+ if (index < GNUNET_EXPERIMENTATION_capabilities_count)
return capstr[index];
else
return "UNDEFINED";
index = index << c1;
if (GNUNET_YES == GED_capabilities_have (GSE_node_capabilities, index))
{
- GNUNET_log (GNUNET_ERROR_TYPE_INFO, "We have `%s'\n",
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "We have `%s'\n",
GED_capability_to_str(index));
}
}