diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-11-05 18:21:50 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-11-05 18:21:50 +0000 |
commit | 75a33a1499cf60ea4364c9aa673816629a6c1413 (patch) | |
tree | 0620da4312bb04de4d7b65074fdd3b0c3dd6cc0e /src/util/test_connection_timeout.c | |
parent | 7217c601ad30760872823193d62307e7a335d226 (diff) | |
download | gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.tar.gz gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.zip |
big scheduler refactoring, expect some issues
Diffstat (limited to 'src/util/test_connection_timeout.c')
-rw-r--r-- | src/util/test_connection_timeout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/test_connection_timeout.c b/src/util/test_connection_timeout.c index 5291ad3c4..0e2190e41 100644 --- a/src/util/test_connection_timeout.c +++ b/src/util/test_connection_timeout.c | |||
@@ -107,9 +107,9 @@ task_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
107 | { | 107 | { |
108 | 108 | ||
109 | ls = open_listen_socket (); | 109 | ls = open_listen_socket (); |
110 | lsock = GNUNET_CONNECTION_create_from_existing (tc->sched, ls); | 110 | lsock = GNUNET_CONNECTION_create_from_existing (ls); |
111 | GNUNET_assert (lsock != NULL); | 111 | GNUNET_assert (lsock != NULL); |
112 | csock = GNUNET_CONNECTION_create_from_connect (tc->sched, cfg, | 112 | csock = GNUNET_CONNECTION_create_from_connect (cfg, |
113 | "localhost", PORT); | 113 | "localhost", PORT); |
114 | GNUNET_assert (csock != NULL); | 114 | GNUNET_assert (csock != NULL); |
115 | GNUNET_assert (NULL != | 115 | GNUNET_assert (NULL != |