aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_fs_search_probes.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-03-29 14:33:42 +0000
committerChristian Grothoff <christian@grothoff.org>2013-03-29 14:33:42 +0000
commit663cc4e8d6359a3452ee5a907cf6919cc596d5bd (patch)
tree43f65c934cdef3853a36d2d80a0d62b1a8226b1d /src/fs/test_fs_search_probes.c
parent949f21f03df9f08b0a73c3e47a798e63790edf7f (diff)
downloadgnunet-663cc4e8d6359a3452ee5a907cf6919cc596d5bd.tar.gz
gnunet-663cc4e8d6359a3452ee5a907cf6919cc596d5bd.zip
-fix shutdown order
Diffstat (limited to 'src/fs/test_fs_search_probes.c')
-rw-r--r--src/fs/test_fs_search_probes.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fs/test_fs_search_probes.c b/src/fs/test_fs_search_probes.c
index b2f1e0bf1..442f99cb7 100644
--- a/src/fs/test_fs_search_probes.c
+++ b/src/fs/test_fs_search_probes.c
@@ -63,16 +63,16 @@ abort_error (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
63{ 63{
64 fprintf (stderr, 64 fprintf (stderr,
65 "Timeout\n"); 65 "Timeout\n");
66 if (NULL != publish)
67 {
68 GNUNET_FS_publish_stop (publish);
69 publish = NULL;
70 }
71 if (NULL != search) 66 if (NULL != search)
72 { 67 {
73 GNUNET_FS_search_stop (search); 68 GNUNET_FS_search_stop (search);
74 search = NULL; 69 search = NULL;
75 } 70 }
71 if (NULL != publish)
72 {
73 GNUNET_FS_publish_stop (publish);
74 publish = NULL;
75 }
76 err = 1; 76 err = 1;
77} 77}
78 78