aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/gnunet-conversation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conversation/gnunet-conversation.c')
-rw-r--r--src/conversation/gnunet-conversation.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conversation/gnunet-conversation.c b/src/conversation/gnunet-conversation.c
index 4b4c5f5da..7d5cb990a 100644
--- a/src/conversation/gnunet-conversation.c
+++ b/src/conversation/gnunet-conversation.c
@@ -173,7 +173,7 @@ static unsigned int line;
173/** 173/**
174 * Task which handles the commands 174 * Task which handles the commands
175 */ 175 */
176static GNUNET_SCHEDULER_TaskIdentifier handle_cmd_task; 176static struct GNUNET_SCHEDULER_Task * handle_cmd_task;
177 177
178/** 178/**
179 * Our speaker. 179 * Our speaker.
@@ -1036,10 +1036,10 @@ do_stop_task (void *cls,
1036 GNUNET_CONVERSATION_phone_destroy (phone); 1036 GNUNET_CONVERSATION_phone_destroy (phone);
1037 phone = NULL; 1037 phone = NULL;
1038 } 1038 }
1039 if (GNUNET_SCHEDULER_NO_TASK != handle_cmd_task) 1039 if (NULL != handle_cmd_task)
1040 { 1040 {
1041 GNUNET_SCHEDULER_cancel (handle_cmd_task); 1041 GNUNET_SCHEDULER_cancel (handle_cmd_task);
1042 handle_cmd_task = GNUNET_SCHEDULER_NO_TASK; 1042 handle_cmd_task = NULL;
1043 } 1043 }
1044 if (NULL != id) 1044 if (NULL != id)
1045 { 1045 {