aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlurchi <lurchi@strangeplace.net>2017-09-04 12:40:53 +0200
committerlurchi <lurchi@strangeplace.net>2017-09-04 12:40:53 +0200
commit0cdad12df4123d4b30603d552f1e3c1effab5015 (patch)
treebbba9202bc437113dccb492051f124b8fc8322dc /src
parent023013b657c4f0fa60bcbbf3b795f76226a9485b (diff)
downloadgnunet-0cdad12df4123d4b30603d552f1e3c1effab5015.tar.gz
gnunet-0cdad12df4123d4b30603d552f1e3c1effab5015.zip
handles, not handlers
Diffstat (limited to 'src')
-rw-r--r--src/util/scheduler.c8
1 files changed, 4 insertions, 4 deletions
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
147 unsigned int ready_fds_len; 147 unsigned int ready_fds_len;
148 148
149 /** 149 /**
150 * Do we own the network and file handlers referenced by the FdInfo 150 * Do we own the network and file handles referenced by the FdInfo
151 * structs in the fds array. This will only be GNUNET_YES if the 151 * structs in the fds array. This will only be GNUNET_YES if the
152 * task was created by the #GNUNET_SCHEDULER_add_select function. 152 * task was created by the #GNUNET_SCHEDULER_add_select function.
153 */ 153 */
154 int own_handlers; 154 int own_handles;
155 155
156 /** 156 /**
157 * Absolute timeout value for the task, or 157 * Absolute timeout value for the task, or
@@ -539,7 +539,7 @@ destroy_task (struct GNUNET_SCHEDULER_Task *t)
539 "destroying task %p\n", 539 "destroying task %p\n",
540 t); 540 t);
541 541
542 if (GNUNET_YES == t->own_handlers) 542 if (GNUNET_YES == t->own_handles)
543 { 543 {
544 for (i = 0; i != t->fds_len; ++i) 544 for (i = 0; i != t->fds_len; ++i)
545 { 545 {
@@ -1762,7 +1762,7 @@ GNUNET_SCHEDULER_add_select (enum GNUNET_SCHEDULER_Priority prio,
1762 t->callback_cls = task_cls; 1762 t->callback_cls = task_cls;
1763 t->read_fd = -1; 1763 t->read_fd = -1;
1764 t->write_fd = -1; 1764 t->write_fd = -1;
1765 t->own_handlers = GNUNET_YES; 1765 t->own_handles = GNUNET_YES;
1766 read_nhandles = NULL; 1766 read_nhandles = NULL;
1767 write_nhandles = NULL; 1767 write_nhandles = NULL;
1768 read_fhandles = NULL; 1768 read_fhandles = NULL;