coverity fix
authorSree Harsha Totakura <totakura@in.tum.de>
Mon, 5 Nov 2012 19:11:40 +0000 (19:11 +0000)
committerSree Harsha Totakura <totakura@in.tum.de>
Mon, 5 Nov 2012 19:11:40 +0000 (19:11 +0000)
src/testbed/testbed_api_testbed.c

index 9ec47891e410cdb333c93dc406387ea3dfaad5ed..f7f2a9c29a5822f7bf21b567903164a23d6809f4 100644 (file)
@@ -427,19 +427,19 @@ call_cc:
   {
     if (GNUNET_TESTBED_TOPOLOGY_ERDOS_RENYI == rc->topology)
       rc->topology_operation =
-        GNUNET_TESTBED_overlay_configure_topology (dll_op,
-                                                   rc->num_peers,
-                                                   rc->peers,
-                                                   rc->topology,
-                                                   rc->num_oc,
-                                                   GNUNET_TESTBED_TOPOLOGY_OPTION_END);
+          GNUNET_TESTBED_overlay_configure_topology (NULL,
+                                                     rc->num_peers,
+                                                     rc->peers,
+                                                     rc->topology,
+                                                     rc->num_oc,
+                                                     GNUNET_TESTBED_TOPOLOGY_OPTION_END);
     else
-        rc->topology_operation =
-        GNUNET_TESTBED_overlay_configure_topology (dll_op,
-                                                   rc->num_peers,
-                                                   rc->peers,
-                                                   rc->topology,
-                                                   GNUNET_TESTBED_TOPOLOGY_OPTION_END);
+      rc->topology_operation =
+          GNUNET_TESTBED_overlay_configure_topology (NULL,
+                                                     rc->num_peers,
+                                                     rc->peers,
+                                                     rc->topology,
+                                                     GNUNET_TESTBED_TOPOLOGY_OPTION_END);
     if (NULL == rc->topology_operation)
       LOG (GNUNET_ERROR_TYPE_WARNING,
            "Not generating topology. Check number of peers\n");