CANCEL_TASK (abort_task);
CANCEL_TASK (write_task);
GNUNET_free_non_null (search_dir);
+ if (NULL != h)
+ GNUNET_TESTBED_LOGGER_disconnect (h);
GNUNET_SCHEDULER_shutdown ();
}
if ((BSIZE * 2) != fs) /* The file size should be equal to what we
have written */
goto iteration_cont;
-
+
cancel = GNUNET_YES;
result = GNUNET_OK;
-
+
iteration_cont:
- if ( (NULL != di) &&
+ if ( (NULL != di) &&
(GNUNET_YES == GNUNET_DISK_directory_iterator_next (di, cancel)) )
return;
shutdown_now ();
/**
* Signature of the 'main' function for a (single-peer) testcase that
* is run using 'GNUNET_TESTING_peer_run'.
- *
+ *
* @param cls closure
* @param cfg configuration of the peer that was started
* @param peer identity of the peer that was created