summaryrefslogtreecommitdiff
path: root/src/transport/transport-testing.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-07-10 14:58:37 +0000
committerChristian Grothoff <christian@grothoff.org>2016-07-10 14:58:37 +0000
commit4f77ea5b2b3d53a21f70237f8b92a9a2273c21bf (patch)
tree8f93edb4d6608668822dd2832a734eddc79daac4 /src/transport/transport-testing.c
parentc4a3cadf446bdc115a2efb37b10715c2ad8b4575 (diff)
clean up switch tests
Diffstat (limited to 'src/transport/transport-testing.c')
-rw-r--r--src/transport/transport-testing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transport/transport-testing.c b/src/transport/transport-testing.c
index a2f91d761..95f4eb671 100644
--- a/src/transport/transport-testing.c
+++ b/src/transport/transport-testing.c
@@ -637,6 +637,8 @@ GNUNET_TRANSPORT_TESTING_done (struct GNUNET_TRANSPORT_TESTING_Handle *tth)
struct GNUNET_TRANSPORT_TESTING_PeerContext *p;
struct GNUNET_TRANSPORT_TESTING_PeerContext *t;
+ if (NULL == tth)
+ return;
cc = tth->cc_head;
while (NULL != cc)
{