diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-12-24 01:10:47 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-12-24 01:10:47 +0000 |
commit | f1f603c7d0b3f03dca46a4f313472288eb080eb1 (patch) | |
tree | 3a29966b02dfb83e0a8a8d5c42b3116380209fb0 /src/fs/fs_list_indexed.c | |
parent | 53cd5b8eda2fa8db86b0907a62a39598981d008a (diff) | |
download | gnunet-f1f603c7d0b3f03dca46a4f313472288eb080eb1.tar.gz gnunet-f1f603c7d0b3f03dca46a4f313472288eb080eb1.zip |
making GNUNET_SCHEDULER_cancel() perform in O(1) instead of O(n) to help or even fully address #3247
Diffstat (limited to 'src/fs/fs_list_indexed.c')
-rw-r--r-- | src/fs/fs_list_indexed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/fs_list_indexed.c b/src/fs/fs_list_indexed.c index 7a891155e..8c2558745 100644 --- a/src/fs/fs_list_indexed.c +++ b/src/fs/fs_list_indexed.c | |||
@@ -59,7 +59,7 @@ struct GNUNET_FS_GetIndexedContext | |||
59 | /** | 59 | /** |
60 | * Continuation to trigger at the end. | 60 | * Continuation to trigger at the end. |
61 | */ | 61 | */ |
62 | GNUNET_SCHEDULER_Task cont; | 62 | GNUNET_SCHEDULER_TaskCallback cont; |
63 | 63 | ||
64 | /** | 64 | /** |
65 | * Closure for cont. | 65 | * Closure for cont. |