aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport-testing.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/transport-testing.c')
-rw-r--r--src/transport/transport-testing.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/transport/transport-testing.c b/src/transport/transport-testing.c
index 53a44f338..2aa6cdbb0 100644
--- a/src/transport/transport-testing.c
+++ b/src/transport/transport-testing.c
@@ -413,7 +413,10 @@ GNUNET_TRANSPORT_TESTING_start_peer (struct GNUNET_TRANSPORT_TESTING_Handle *tth
413 else 413 else
414 p->cb_cls = p; 414 p->cb_cls = p;
415 p->start_cb = start_cb; 415 p->start_cb = start_cb;
416 p->start_cb_cls = start_cb_cls; 416 if (NULL != start_cb_cls)
417 p->start_cb_cls = start_cb_cls;
418 else
419 p->start_cb_cls = p;
417 GNUNET_CONTAINER_DLL_insert (tth->p_head, 420 GNUNET_CONTAINER_DLL_insert (tth->p_head,
418 tth->p_tail, 421 tth->p_tail,
419 p); 422 p);