diff options
Diffstat (limited to 'src/transport/test_transport_plugin_cmd_nat_upnp.c')
-rw-r--r-- | src/transport/test_transport_plugin_cmd_nat_upnp.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/src/transport/test_transport_plugin_cmd_nat_upnp.c b/src/transport/test_transport_plugin_cmd_nat_upnp.c index 31206e63f..82623ece7 100644 --- a/src/transport/test_transport_plugin_cmd_nat_upnp.c +++ b/src/transport/test_transport_plugin_cmd_nat_upnp.c | |||
@@ -75,7 +75,7 @@ static void | |||
75 | handle_test (void *cls, | 75 | handle_test (void *cls, |
76 | const struct GNUNET_TRANSPORT_TESTING_TestMessage *message) | 76 | const struct GNUNET_TRANSPORT_TESTING_TestMessage *message) |
77 | { | 77 | { |
78 | const struct GNUNET_TESTING_AsyncContext *ac; | 78 | struct GNUNET_TESTING_AsyncContext *ac; |
79 | 79 | ||
80 | GNUNET_TESTING_get_trait_async_context (&block_receive, | 80 | GNUNET_TESTING_get_trait_async_context (&block_receive, |
81 | &ac); | 81 | &ac); |
@@ -112,25 +112,6 @@ get_waiting_for_barriers () | |||
112 | 112 | ||
113 | 113 | ||
114 | /** | 114 | /** |
115 | * Callback to set the flag indicating all peers started. Will be called via the plugin api. | ||
116 | * | ||
117 | */ | ||
118 | static void | ||
119 | all_peers_started () | ||
120 | { | ||
121 | const struct GNUNET_TESTING_AsyncContext *ac; | ||
122 | |||
123 | GNUNET_TESTING_get_trait_async_context (&block_send, | ||
124 | &ac); | ||
125 | GNUNET_assert (NULL != ac); | ||
126 | if (NULL == ac->cont) | ||
127 | GNUNET_TESTING_async_fail ((struct GNUNET_TESTING_AsyncContext *) ac); | ||
128 | else | ||
129 | GNUNET_TESTING_async_finish ((struct GNUNET_TESTING_AsyncContext *) ac); | ||
130 | } | ||
131 | |||
132 | |||
133 | /** | ||
134 | * Function called with the final result of the test. | 115 | * Function called with the final result of the test. |
135 | * | 116 | * |
136 | * @param cls the `struct MainParams` | 117 | * @param cls the `struct MainParams` |