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/util/gnunet-uri.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/util/gnunet-uri.c')
-rw-r--r-- | src/util/gnunet-uri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/gnunet-uri.c b/src/util/gnunet-uri.c index 545b78981..8e4930da4 100644 --- a/src/util/gnunet-uri.c +++ b/src/util/gnunet-uri.c | |||
@@ -77,7 +77,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
77 | const char *slash; | 77 | const char *slash; |
78 | char *subsystem; | 78 | char *subsystem; |
79 | char *program; | 79 | char *program; |
80 | GNUNET_SCHEDULER_TaskIdentifier rt; | 80 | struct GNUNET_SCHEDULER_Task * rt; |
81 | 81 | ||
82 | if (NULL == (uri = args[0])) | 82 | if (NULL == (uri = args[0])) |
83 | { | 83 | { |