diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-12-05 21:37:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-12-05 21:37:50 +0000 |
commit | 612f87ce7ff13706d291c441de26eaf15ded5199 (patch) | |
tree | 88d9edda55fd81ac556e9aec147c4701fac3bb05 /src/fs/fs_download.c | |
parent | b66f2c50a63b8d1242eb5583fd49b33abee4183c (diff) | |
download | gnunet-612f87ce7ff13706d291c441de26eaf15ded5199.tar.gz gnunet-612f87ce7ff13706d291c441de26eaf15ded5199.zip |
-signal to applications that a probe is active
Diffstat (limited to 'src/fs/fs_download.c')
-rw-r--r-- | src/fs/fs_download.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c index c4863fbd2..82fc39113 100644 --- a/src/fs/fs_download.c +++ b/src/fs/fs_download.c | |||
@@ -2241,6 +2241,11 @@ GNUNET_FS_download_start_from_search (struct GNUNET_FS_Handle *h, | |||
2241 | GNUNET_FS_download_stop (sr->probe_ctx, GNUNET_YES); | 2241 | GNUNET_FS_download_stop (sr->probe_ctx, GNUNET_YES); |
2242 | sr->probe_ctx = NULL; | 2242 | sr->probe_ctx = NULL; |
2243 | } | 2243 | } |
2244 | if (GNUNET_SCHEDULER_NO_TASK != sr->probe_ping_task) | ||
2245 | { | ||
2246 | GNUNET_SCHEDULER_cancel (sr->probe_ping_task); | ||
2247 | sr->probe_ping_task = GNUNET_SCHEDULER_NO_TASK; | ||
2248 | } | ||
2244 | return dc; | 2249 | return dc; |
2245 | } | 2250 | } |
2246 | 2251 | ||