aboutsummaryrefslogtreecommitdiff
path: root/src/arm
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-03-27 08:55:57 +0000
committerChristian Grothoff <christian@grothoff.org>2013-03-27 08:55:57 +0000
commit826ff84e75d9133c6493e5c4bc0fd89342b8a7bb (patch)
tree5040e6ebe54460cd16701d92aa76a3403585cb64 /src/arm
parent90c0277126a2908ad9f169d599b38df7e4fc1218 (diff)
downloadgnunet-826ff84e75d9133c6493e5c4bc0fd89342b8a7bb.tar.gz
gnunet-826ff84e75d9133c6493e5c4bc0fd89342b8a7bb.zip
-doxygen
Diffstat (limited to 'src/arm')
-rw-r--r--src/arm/arm_monitor_api.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/arm/arm_monitor_api.c b/src/arm/arm_monitor_api.c
index fa9e0faab..685f1c334 100644
--- a/src/arm/arm_monitor_api.c
+++ b/src/arm/arm_monitor_api.c
@@ -273,31 +273,31 @@ GNUNET_ARM_monitor (const struct GNUNET_CONFIGURATION_Handle *cfg,
273 * @param h the handle that was being used 273 * @param h the handle that was being used
274 */ 274 */
275void 275void
276GNUNET_ARM_monitor_disconnect_and_free (struct GNUNET_ARM_MonitorHandle *handle) 276GNUNET_ARM_monitor_disconnect_and_free (struct GNUNET_ARM_MonitorHandle *h)
277{ 277{
278 LOG (GNUNET_ERROR_TYPE_DEBUG, "Disconnecting from ARM service\n"); 278 LOG (GNUNET_ERROR_TYPE_DEBUG, "Disconnecting from ARM service\n");
279 if (NULL != handle->cth) 279 if (NULL != h->cth)
280 { 280 {
281 GNUNET_CLIENT_notify_transmit_ready_cancel (handle->cth); 281 GNUNET_CLIENT_notify_transmit_ready_cancel (h->cth);
282 handle->cth = NULL; 282 h->cth = NULL;
283 } 283 }
284 if (GNUNET_SCHEDULER_NO_TASK != handle->init_timeout_task_id) 284 if (GNUNET_SCHEDULER_NO_TASK != h->init_timeout_task_id)
285 { 285 {
286 GNUNET_SCHEDULER_cancel (handle->init_timeout_task_id); 286 GNUNET_SCHEDULER_cancel (h->init_timeout_task_id);
287 handle->init_timeout_task_id = GNUNET_SCHEDULER_NO_TASK; 287 h->init_timeout_task_id = GNUNET_SCHEDULER_NO_TASK;
288 } 288 }
289 if (NULL != handle->monitor) 289 if (NULL != h->monitor)
290 { 290 {
291 GNUNET_CLIENT_disconnect (handle->monitor); 291 GNUNET_CLIENT_disconnect (h->monitor);
292 handle->monitor = NULL; 292 h->monitor = NULL;
293 } 293 }
294 if (GNUNET_SCHEDULER_NO_TASK != handle->reconnect_task) 294 if (GNUNET_SCHEDULER_NO_TASK != h->reconnect_task)
295 { 295 {
296 GNUNET_SCHEDULER_cancel (handle->reconnect_task); 296 GNUNET_SCHEDULER_cancel (h->reconnect_task);
297 handle->reconnect_task = GNUNET_SCHEDULER_NO_TASK; 297 h->reconnect_task = GNUNET_SCHEDULER_NO_TASK;
298 } 298 }
299 GNUNET_CONFIGURATION_destroy (handle->cfg); 299 GNUNET_CONFIGURATION_destroy (h->cfg);
300 GNUNET_free (handle); 300 GNUNET_free (h);
301} 301}
302 302
303 303