projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f92594
)
Comparing EXTRACTOR_MetaType to -1 is always false
author
David Barksdale
<amatus.amongus@gmail.com>
Tue, 16 Aug 2016 03:47:32 +0000
(
03:47
+0000)
committer
David Barksdale
<amatus.amongus@gmail.com>
Tue, 16 Aug 2016 03:47:32 +0000
(
03:47
+0000)
src/util/container_meta_data.c
patch
|
blob
|
history
diff --git
a/src/util/container_meta_data.c
b/src/util/container_meta_data.c
index d7c5ddb116df82458bb9372488dd34fca2709111..b4d231dae93b9a26b0931ff02338aad743093230 100644
(file)
--- a/
src/util/container_meta_data.c
+++ b/
src/util/container_meta_data.c
@@
-603,7
+603,7
@@
GNUNET_CONTAINER_meta_data_get_first_by_types (const struct
{
char *ret;
va_list args;
-
enum EXTRACTOR_MetaType
type;
+
int
type;
if (NULL == md)
return NULL;
@@
-611,7
+611,7
@@
GNUNET_CONTAINER_meta_data_get_first_by_types (const struct
va_start (args, md);
while (1)
{
- type = va_arg (args,
enum EXTRACTOR_MetaType
);
+ type = va_arg (args,
int
);
if (-1 == type)
break;
if (NULL != (ret = GNUNET_CONTAINER_meta_data_get_by_type (md, type)))