aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/statistics_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-03-20 13:16:41 +0000
committerChristian Grothoff <christian@grothoff.org>2013-03-20 13:16:41 +0000
commitfae95de0d0fb9a48857f9199f63b83fd12cd0c6c (patch)
tree1c6d543a3c85ec52813956ce90d10d4baa07cf63 /src/statistics/statistics_api.c
parent5e6f148db58d948828e39499898539767f5721d3 (diff)
downloadgnunet-fae95de0d0fb9a48857f9199f63b83fd12cd0c6c.tar.gz
gnunet-fae95de0d0fb9a48857f9199f63b83fd12cd0c6c.zip
-make really sure 'cont' is never called again
Diffstat (limited to 'src/statistics/statistics_api.c')
-rw-r--r--src/statistics/statistics_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/statistics/statistics_api.c b/src/statistics/statistics_api.c
index 9beee5619..2b695b333 100644
--- a/src/statistics/statistics_api.c
+++ b/src/statistics/statistics_api.c
@@ -1189,6 +1189,7 @@ GNUNET_STATISTICS_get_cancel (struct GNUNET_STATISTICS_GetHandle *gh)
1189{ 1189{
1190 if (NULL == gh) 1190 if (NULL == gh)
1191 return; 1191 return;
1192 gh->cont = NULL;
1192 if (gh->sh->current == gh) 1193 if (gh->sh->current == gh)
1193 { 1194 {
1194 gh->aborted = GNUNET_YES; 1195 gh->aborted = GNUNET_YES;