diff options
Diffstat (limited to 'src/util/test_connection_timeout_no_connect.c')
-rw-r--r-- | src/util/test_connection_timeout_no_connect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/test_connection_timeout_no_connect.c b/src/util/test_connection_timeout_no_connect.c index 3519f197b..ea4a32412 100644 --- a/src/util/test_connection_timeout_no_connect.c +++ b/src/util/test_connection_timeout_no_connect.c | |||
@@ -39,6 +39,7 @@ static size_t | |||
39 | handle_timeout (void *cls, size_t size, void *buf) | 39 | handle_timeout (void *cls, size_t size, void *buf) |
40 | { | 40 | { |
41 | int *ok = cls; | 41 | int *ok = cls; |
42 | |||
42 | #if VERBOSE | 43 | #if VERBOSE |
43 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Received timeout signal.\n"); | 44 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Received timeout signal.\n"); |
44 | #endif | 45 | #endif |
@@ -53,8 +54,7 @@ handle_timeout (void *cls, size_t size, void *buf) | |||
53 | static void | 54 | static void |
54 | task_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 55 | task_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) |
55 | { | 56 | { |
56 | csock = GNUNET_CONNECTION_create_from_connect (cfg, | 57 | csock = GNUNET_CONNECTION_create_from_connect (cfg, "localhost", PORT); |
57 | "localhost", PORT); | ||
58 | GNUNET_assert (csock != NULL); | 58 | GNUNET_assert (csock != NULL); |
59 | GNUNET_assert (NULL != | 59 | GNUNET_assert (NULL != |
60 | GNUNET_CONNECTION_notify_transmit_ready (csock, | 60 | GNUNET_CONNECTION_notify_transmit_ready (csock, |