diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-04-09 23:14:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-04-09 23:14:03 +0000 |
commit | 29e6158507a0758192075ac6ece7ba8e75ddc49a (patch) | |
tree | b91ded48da322f8ba4c9bb0f5504228aa036c2d1 /src/hostlist/gnunet-daemon-hostlist.c | |
parent | 5dfcb058ab5db9ae0c4b147d8a99c64ca0980028 (diff) | |
download | gnunet-29e6158507a0758192075ac6ece7ba8e75ddc49a.tar.gz gnunet-29e6158507a0758192075ac6ece7ba8e75ddc49a.zip |
small API change: do no longer pass rarely needed GNUNET_SCHEDULER_TaskContext to all scheduler tasks; instead, allow the relatively few tasks that need it to obtain the context via GNUNET_SCHEDULER_get_task_context()
Diffstat (limited to 'src/hostlist/gnunet-daemon-hostlist.c')
-rw-r--r-- | src/hostlist/gnunet-daemon-hostlist.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist.c b/src/hostlist/gnunet-daemon-hostlist.c index 42b5959f2..6a4689af1 100644 --- a/src/hostlist/gnunet-daemon-hostlist.c +++ b/src/hostlist/gnunet-daemon-hostlist.c | |||
@@ -212,11 +212,9 @@ disconnect_handler (void *cls, | |||
212 | * the other services. | 212 | * the other services. |
213 | * | 213 | * |
214 | * @param cls NULL | 214 | * @param cls NULL |
215 | * @param tc scheduler context | ||
216 | */ | 215 | */ |
217 | static void | 216 | static void |
218 | cleaning_task (void *cls, | 217 | cleaning_task (void *cls) |
219 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
220 | { | 218 | { |
221 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 219 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
222 | "Hostlist daemon is shutting down\n"); | 220 | "Hostlist daemon is shutting down\n"); |