aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/gnunet-testbed-profiler.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-10-26 12:58:46 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-10-26 12:58:46 +0000
commit82bc20a8bcbfb269da4dd54476382c924497e7ec (patch)
tree6c64f597dcbecbf53118d6710bc02ec51da4a4b7 /src/testbed/gnunet-testbed-profiler.c
parent0c1b1c5380cfff0a8e0e3adae4df2ee048a5fe88 (diff)
downloadgnunet-82bc20a8bcbfb269da4dd54476382c924497e7ec.tar.gz
gnunet-82bc20a8bcbfb269da4dd54476382c924497e7ec.zip
removed GNUNET_TESTBED_operation_cancel
Diffstat (limited to 'src/testbed/gnunet-testbed-profiler.c')
-rw-r--r--src/testbed/gnunet-testbed-profiler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testbed/gnunet-testbed-profiler.c b/src/testbed/gnunet-testbed-profiler.c
index 4168408e9..0d9143a86 100644
--- a/src/testbed/gnunet-testbed-profiler.c
+++ b/src/testbed/gnunet-testbed-profiler.c
@@ -258,14 +258,14 @@ do_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
258 if (NULL != reg_handle) 258 if (NULL != reg_handle)
259 GNUNET_TESTBED_cancel_registration (reg_handle); 259 GNUNET_TESTBED_cancel_registration (reg_handle);
260 if (NULL != topology_op) 260 if (NULL != topology_op)
261 GNUNET_TESTBED_operation_cancel (topology_op); 261 GNUNET_TESTBED_operation_done (topology_op);
262 for (nhost = 0; nhost < num_hosts; nhost++) 262 for (nhost = 0; nhost < num_hosts; nhost++)
263 if (NULL != hosts[nhost]) 263 if (NULL != hosts[nhost])
264 GNUNET_TESTBED_host_destroy (hosts[nhost]); 264 GNUNET_TESTBED_host_destroy (hosts[nhost]);
265 GNUNET_free_non_null (hosts); 265 GNUNET_free_non_null (hosts);
266 while (NULL != (dll_op = dll_op_head)) 266 while (NULL != (dll_op = dll_op_head))
267 { 267 {
268 GNUNET_TESTBED_operation_cancel (dll_op->op); 268 GNUNET_TESTBED_operation_done (dll_op->op);
269 GNUNET_CONTAINER_DLL_remove (dll_op_head, dll_op_tail, dll_op); 269 GNUNET_CONTAINER_DLL_remove (dll_op_head, dll_op_tail, dll_op);
270 GNUNET_free (dll_op); 270 GNUNET_free (dll_op);
271 } 271 }