From: lurchi Date: Mon, 4 Sep 2017 10:40:53 +0000 (+0200) Subject: handles, not handlers X-Git-Tag: gnunet-0.11.0rc0~48^2^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0cdad12df4123d4b30603d552f1e3c1effab5015;p=oweals%2Fgnunet.git handles, not handlers --- diff --git a/src/util/scheduler.c b/src/util/scheduler.c index a2eaab9aa..72f2b7230 100644 --- a/src/util/scheduler.c +++ b/src/util/scheduler.c @@ -147,11 +147,11 @@ struct GNUNET_SCHEDULER_Task unsigned int ready_fds_len; /** - * Do we own the network and file handlers referenced by the FdInfo + * Do we own the network and file handles referenced by the FdInfo * structs in the fds array. This will only be GNUNET_YES if the * task was created by the #GNUNET_SCHEDULER_add_select function. */ - int own_handlers; + int own_handles; /** * Absolute timeout value for the task, or @@ -539,7 +539,7 @@ destroy_task (struct GNUNET_SCHEDULER_Task *t) "destroying task %p\n", t); - if (GNUNET_YES == t->own_handlers) + if (GNUNET_YES == t->own_handles) { for (i = 0; i != t->fds_len; ++i) { @@ -1762,7 +1762,7 @@ GNUNET_SCHEDULER_add_select (enum GNUNET_SCHEDULER_Priority prio, t->callback_cls = task_cls; t->read_fd = -1; t->write_fd = -1; - t->own_handlers = GNUNET_YES; + t->own_handles = GNUNET_YES; read_nhandles = NULL; write_nhandles = NULL; read_fhandles = NULL;