diff options
Diffstat (limited to 'src/testing/testing.c')
-rw-r--r-- | src/testing/testing.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c index e81a92fb5..6edc1fc8c 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c | |||
@@ -1888,7 +1888,7 @@ notify_connect_result (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
1888 | static void | 1888 | static void |
1889 | connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, | 1889 | connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, |
1890 | const struct GNUNET_ATS_Information *atsi, | 1890 | const struct GNUNET_ATS_Information *atsi, |
1891 | unsigned int atsi_count) | 1891 | unsigned int atsi_count) |
1892 | { | 1892 | { |
1893 | struct GNUNET_TESTING_ConnectContext *ctx = cls; | 1893 | struct GNUNET_TESTING_ConnectContext *ctx = cls; |
1894 | 1894 | ||
@@ -1965,8 +1965,7 @@ core_init_notify (void *cls, struct GNUNET_CORE_Handle *server, | |||
1965 | 1965 | ||
1966 | if (connect_ctx->send_hello == GNUNET_NO) | 1966 | if (connect_ctx->send_hello == GNUNET_NO) |
1967 | { | 1967 | { |
1968 | GNUNET_TRANSPORT_try_connect (connect_ctx->d1th, | 1968 | GNUNET_TRANSPORT_try_connect (connect_ctx->d1th, &connect_ctx->d2->id); |
1969 | &connect_ctx->d2->id); | ||
1970 | #if DEBUG_TESTING | 1969 | #if DEBUG_TESTING |
1971 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1970 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
1972 | "Sending connect request to TRANSPORT of %s for peer %s\n", | 1971 | "Sending connect request to TRANSPORT of %s for peer %s\n", |
@@ -2088,7 +2087,7 @@ reattempt_daemons_connect (void *cls, | |||
2088 | static void | 2087 | static void |
2089 | core_initial_iteration (void *cls, const struct GNUNET_PeerIdentity *peer, | 2088 | core_initial_iteration (void *cls, const struct GNUNET_PeerIdentity *peer, |
2090 | const struct GNUNET_ATS_Information *atsi, | 2089 | const struct GNUNET_ATS_Information *atsi, |
2091 | unsigned int atsi_count) | 2090 | unsigned int atsi_count) |
2092 | { | 2091 | { |
2093 | struct GNUNET_TESTING_ConnectContext *ctx = cls; | 2092 | struct GNUNET_TESTING_ConnectContext *ctx = cls; |
2094 | 2093 | ||