projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- doxygen
[oweals/gnunet.git]
/
src
/
experimentation
/
gnunet-daemon-experimentation_capabilities.c
diff --git
a/src/experimentation/gnunet-daemon-experimentation_capabilities.c
b/src/experimentation/gnunet-daemon-experimentation_capabilities.c
index 9752cf776fce5acd2b1445aa7c4e3e6ececbde59..7d74c2827432976748bdc35aeeb7de6be41e77be 100644
(file)
--- a/
src/experimentation/gnunet-daemon-experimentation_capabilities.c
+++ b/
src/experimentation/gnunet-daemon-experimentation_capabilities.c
@@
-40,7
+40,7
@@
uint32_t GSE_node_capabilities;
/**
* Capabilities defined at the moment
*/
/**
* Capabilities defined at the moment
*/
-#define GNUNET_EXPERIMENTATION_capabilities_count 11
;
+#define GNUNET_EXPERIMENTATION_capabilities_count 11
/**
/**
@@
-71,7
+71,7
@@
GED_capability_to_str (uint32_t cap)
if (test != cap)
return "UNDEFINED";
if (test != cap)
return "UNDEFINED";
- if (index <
= 11
)
+ if (index <
GNUNET_EXPERIMENTATION_capabilities_count
)
return capstr[index];
else
return "UNDEFINED";
return capstr[index];
else
return "UNDEFINED";