[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r37722 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r37722 - gnunet/src/util |
Date: |
Tue, 16 Aug 2016 05:47:32 +0200 |
Author: amatus
Date: 2016-08-16 05:47:32 +0200 (Tue, 16 Aug 2016)
New Revision: 37722
Modified:
gnunet/src/util/container_meta_data.c
Log:
Comparing EXTRACTOR_MetaType to -1 is always false
Modified: gnunet/src/util/container_meta_data.c
===================================================================
--- gnunet/src/util/container_meta_data.c 2016-08-15 11:13:50 UTC (rev
37721)
+++ gnunet/src/util/container_meta_data.c 2016-08-16 03:47:32 UTC (rev
37722)
@@ -603,7 +603,7 @@
{
char *ret;
va_list args;
- enum EXTRACTOR_MetaType type;
+ int type;
if (NULL == md)
return NULL;
@@ -611,7 +611,7 @@
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)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r37722 - gnunet/src/util,
gnunet <=