aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo-tool/gnunet-peerinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peerinfo-tool/gnunet-peerinfo.c')
-rw-r--r--src/peerinfo-tool/gnunet-peerinfo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/peerinfo-tool/gnunet-peerinfo.c b/src/peerinfo-tool/gnunet-peerinfo.c
index b00333d2c..05ae99e8d 100644
--- a/src/peerinfo-tool/gnunet-peerinfo.c
+++ b/src/peerinfo-tool/gnunet-peerinfo.c
@@ -175,7 +175,7 @@ static const struct GNUNET_CONFIGURATION_Handle *cfg;
175/** 175/**
176 * Main state machine task (if active). 176 * Main state machine task (if active).
177 */ 177 */
178static GNUNET_SCHEDULER_TaskIdentifier tt; 178static struct GNUNET_SCHEDULER_Task * tt;
179 179
180/** 180/**
181 * Pending #GNUNET_TRANSPORT_get_hello() operation. 181 * Pending #GNUNET_TRANSPORT_get_hello() operation.
@@ -626,10 +626,10 @@ shutdown_task (void *cls,
626 GNUNET_PEERINFO_add_peer_cancel (ac); 626 GNUNET_PEERINFO_add_peer_cancel (ac);
627 ac = NULL; 627 ac = NULL;
628 } 628 }
629 if (GNUNET_SCHEDULER_NO_TASK != tt) 629 if (NULL != tt)
630 { 630 {
631 GNUNET_SCHEDULER_cancel (tt); 631 GNUNET_SCHEDULER_cancel (tt);
632 tt = GNUNET_SCHEDULER_NO_TASK; 632 tt = NULL;
633 } 633 }
634 if (NULL != pic) 634 if (NULL != pic)
635 { 635 {
@@ -806,7 +806,7 @@ static void
806state_machine (void *cls, 806state_machine (void *cls,
807 const struct GNUNET_SCHEDULER_TaskContext *tc) 807 const struct GNUNET_SCHEDULER_TaskContext *tc)
808{ 808{
809 tt = GNUNET_SCHEDULER_NO_TASK; 809 tt = NULL;
810 810
811 if (NULL != put_uri) 811 if (NULL != put_uri)
812 { 812 {