gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] 03/04: fix potential NPE


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 03/04: fix potential NPE
Date: Fri, 10 Mar 2017 18:45:46 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

commit b7f90bbe25c967235643005ef003203eac80618d
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Mar 10 18:44:13 2017 +0100

    fix potential NPE
---
 src/testbed/testbed_api_topology.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/testbed/testbed_api_topology.c 
b/src/testbed/testbed_api_topology.c
index 544f127a9..7bc36d1b4 100644
--- a/src/testbed/testbed_api_topology.c
+++ b/src/testbed/testbed_api_topology.c
@@ -1493,7 +1493,7 @@ GNUNET_TESTBED_topology_get_ (enum 
GNUNET_TESTBED_TopologyOption *topology,
     {
       if (NULL != topology)
         *topology = (enum GNUNET_TESTBED_TopologyOption) cnt;
-      GNUNET_assert (GNUNET_TESTBED_TOPOLOGY_OPTION_END != *topology);
+      GNUNET_assert (GNUNET_TESTBED_TOPOLOGY_OPTION_END != (enum 
GNUNET_TESTBED_TopologyOption) cnt);
       return GNUNET_YES;
     }
   }

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]