diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-11-04 14:10:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-11-04 14:10:32 +0000 |
commit | cf45b8dff29c366d51aa2e6ea6a64b99b514b9c9 (patch) | |
tree | 5cb37c041743daff5af528dbbe24f5c563ce702e /src/nat/test_nat.c | |
parent | b91546a3de767292e6472c6b1927480adba43d88 (diff) | |
download | gnunet-cf45b8dff29c366d51aa2e6ea6a64b99b514b9c9.tar.gz gnunet-cf45b8dff29c366d51aa2e6ea6a64b99b514b9c9.zip |
bugfixes and redesigning scheduler API
Diffstat (limited to 'src/nat/test_nat.c')
-rw-r--r-- | src/nat/test_nat.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nat/test_nat.c b/src/nat/test_nat.c index 2ff168c56..dc5112c36 100644 --- a/src/nat/test_nat.c +++ b/src/nat/test_nat.c | |||
@@ -125,9 +125,7 @@ run (void *cls, | |||
125 | nat = GNUNET_NAT_register (sched, addr, data.addrlen, addr_callback, NULL); | 125 | nat = GNUNET_NAT_register (sched, addr, data.addrlen, addr_callback, NULL); |
126 | GNUNET_free (addr); | 126 | GNUNET_free (addr); |
127 | 127 | ||
128 | GNUNET_SCHEDULER_add_delayed (sched, GNUNET_NO, | 128 | GNUNET_SCHEDULER_add_delayed (sched, |
129 | GNUNET_SCHEDULER_PRIORITY_DEFAULT, | ||
130 | GNUNET_SCHEDULER_NO_TASK, | ||
131 | GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, TIMEOUT), | 129 | GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, TIMEOUT), |
132 | stop, nat); | 130 | stop, nat); |
133 | } | 131 | } |