aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_fs_download_persistence.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/test_fs_download_persistence.c')
-rw-r--r--src/fs/test_fs_download_persistence.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/test_fs_download_persistence.c b/src/fs/test_fs_download_persistence.c
index a9b998013..7e1f01ae7 100644
--- a/src/fs/test_fs_download_persistence.c
+++ b/src/fs/test_fs_download_persistence.c
@@ -54,7 +54,7 @@ static struct GNUNET_FS_DownloadContext *download;
54 54
55static struct GNUNET_FS_PublishContext *publish; 55static struct GNUNET_FS_PublishContext *publish;
56 56
57static GNUNET_SCHEDULER_TaskIdentifier timeout_kill; 57static struct GNUNET_SCHEDULER_Task * timeout_kill;
58 58
59static char *fn; 59static char *fn;
60 60
@@ -75,7 +75,7 @@ timeout_kill_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
75 GNUNET_FS_publish_stop (publish); 75 GNUNET_FS_publish_stop (publish);
76 publish = NULL; 76 publish = NULL;
77 } 77 }
78 timeout_kill = GNUNET_SCHEDULER_NO_TASK; 78 timeout_kill = NULL;
79 err = 1; 79 err = 1;
80} 80}
81 81
@@ -107,7 +107,7 @@ abort_download_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
107 GNUNET_free (fn); 107 GNUNET_free (fn);
108 fn = NULL; 108 fn = NULL;
109 GNUNET_SCHEDULER_cancel (timeout_kill); 109 GNUNET_SCHEDULER_cancel (timeout_kill);
110 timeout_kill = GNUNET_SCHEDULER_NO_TASK; 110 timeout_kill = NULL;
111} 111}
112 112
113 113