aboutsummaryrefslogtreecommitdiff
path: root/src/arm/arm_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-03-23 23:29:49 +0000
committerChristian Grothoff <christian@grothoff.org>2013-03-23 23:29:49 +0000
commitd2a6a96a87f2bfd2b80f4c56bd6e4e9002dde1fa (patch)
tree1b218f092297e1e45eaea36e63adefbb8e266eb8 /src/arm/arm_api.c
parent74db1810919c40b1784fac5df99a63ac7eec659f (diff)
downloadgnunet-d2a6a96a87f2bfd2b80f4c56bd6e4e9002dde1fa.tar.gz
gnunet-d2a6a96a87f2bfd2b80f4c56bd6e4e9002dde1fa.zip
-doxygen fixes
Diffstat (limited to 'src/arm/arm_api.c')
-rw-r--r--src/arm/arm_api.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/arm/arm_api.c b/src/arm/arm_api.c
index 49cc55315..9b235f023 100644
--- a/src/arm/arm_api.c
+++ b/src/arm/arm_api.c
@@ -444,29 +444,29 @@ GNUNET_ARM_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
444 * @param h the handle that was being used 444 * @param h the handle that was being used
445 */ 445 */
446void 446void
447GNUNET_ARM_disconnect_and_free (struct GNUNET_ARM_Handle *handle) 447GNUNET_ARM_disconnect_and_free (struct GNUNET_ARM_Handle *h)
448{ 448{
449 LOG (GNUNET_ERROR_TYPE_DEBUG, "Disconnecting from ARM service\n"); 449 LOG (GNUNET_ERROR_TYPE_DEBUG, "Disconnecting from ARM service\n");
450 if (NULL != handle->cth) 450 if (NULL != h->cth)
451 { 451 {
452 GNUNET_CLIENT_notify_transmit_ready_cancel (handle->cth); 452 GNUNET_CLIENT_notify_transmit_ready_cancel (h->cth);
453 handle->cth = NULL; 453 h->cth = NULL;
454 } 454 }
455 clear_pending_messages (handle, GNUNET_ARM_REQUEST_DISCONNECTED); 455 clear_pending_messages (h, GNUNET_ARM_REQUEST_DISCONNECTED);
456 if (NULL != handle->client) 456 if (NULL != h->client)
457 { 457 {
458 GNUNET_CLIENT_disconnect (handle->client); 458 GNUNET_CLIENT_disconnect (h->client);
459 handle->client = NULL; 459 h->client = NULL;
460 } 460 }
461 if (GNUNET_SCHEDULER_NO_TASK != handle->reconnect_task) 461 if (GNUNET_SCHEDULER_NO_TASK != h->reconnect_task)
462 { 462 {
463 GNUNET_SCHEDULER_cancel (handle->reconnect_task); 463 GNUNET_SCHEDULER_cancel (h->reconnect_task);
464 handle->reconnect_task = GNUNET_SCHEDULER_NO_TASK; 464 h->reconnect_task = GNUNET_SCHEDULER_NO_TASK;
465 } 465 }
466 if (GNUNET_NO == handle->service_test_is_active) 466 if (GNUNET_NO == h->service_test_is_active)
467 { 467 {
468 GNUNET_CONFIGURATION_destroy (handle->cfg); 468 GNUNET_CONFIGURATION_destroy (h->cfg);
469 GNUNET_free (handle); 469 GNUNET_free (h);
470 } 470 }
471} 471}
472 472