summaryrefslogtreecommitdiff
path: root/src/transport/transport-testing-main.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-07-23 22:32:35 +0000
committerChristian Grothoff <christian@grothoff.org>2016-07-23 22:32:35 +0000
commit658c3cf583b0c09e55c41a78a9ec8dbe28cb515e (patch)
tree236759ed9a5b6a5e3493667c34f384279bc12bbe /src/transport/transport-testing-main.c
parent1d188d2b9437f8a7685d0d139da7a6b9fb1b7c9c (diff)
more refactoring of tests for new send API
Diffstat (limited to 'src/transport/transport-testing-main.c')
-rw-r--r--src/transport/transport-testing-main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/transport/transport-testing-main.c b/src/transport/transport-testing-main.c
index f196d586b..79f6a0152 100644
--- a/src/transport/transport-testing-main.c
+++ b/src/transport/transport-testing-main.c
@@ -145,9 +145,8 @@ struct GNUNET_TRANSPORT_TESTING_InternalPeerContext
/**
- * Function called when we connected two peers.
- * Once we have gotten to the clique, launch
- * test-specific logic.
+ * Function called when we connected two peers. Once we have gotten
+ * to the clique, launch test-specific logic.
*
* @param cls our `struct GNUNET_TRANSPORT_TESTING_ConnectRequestList *`
*/
@@ -511,7 +510,7 @@ GNUNET_TRANSPORT_TESTING_main_ (const char *argv0,
for (unsigned int i=0;i<num_peers;i++)
GNUNET_free (cfg_names[i]);
GNUNET_free (test_source);
- GNUNET_free (test_plugin);
+ GNUNET_free_non_null (test_plugin);
GNUNET_free (test_name);
return ret;
}