aboutsummaryrefslogtreecommitdiff
path: root/src/arm/arm_api.c
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2013-03-20 18:50:12 +0000
committerLRN <lrn1986@gmail.com>2013-03-20 18:50:12 +0000
commit41646c7ce6e3d1711beb4b95da08afbd5b79d097 (patch)
tree666d56f69347402bf531f7aec2052a83c5df1b7d /src/arm/arm_api.c
parent7c49614b1e70bbc8f1310dca8a17dceda412b091 (diff)
downloadgnunet-41646c7ce6e3d1711beb4b95da08afbd5b79d097.tar.gz
gnunet-41646c7ce6e3d1711beb4b95da08afbd5b79d097.zip
disconnect -> disconnect_and_free rename
Diffstat (limited to 'src/arm/arm_api.c')
-rw-r--r--src/arm/arm_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arm/arm_api.c b/src/arm/arm_api.c
index d434ff3af..18b4d220c 100644
--- a/src/arm/arm_api.c
+++ b/src/arm/arm_api.c
@@ -451,7 +451,7 @@ GNUNET_ARM_connect (struct GNUNET_ARM_Handle *h,
451 * @param h the handle that was being used 451 * @param h the handle that was being used
452 */ 452 */
453void 453void
454GNUNET_ARM_disconnect (struct GNUNET_ARM_Handle *handle) 454GNUNET_ARM_disconnect_and_free (struct GNUNET_ARM_Handle *handle)
455{ 455{
456 LOG (GNUNET_ERROR_TYPE_DEBUG, "Disconnecting from ARM service\n"); 456 LOG (GNUNET_ERROR_TYPE_DEBUG, "Disconnecting from ARM service\n");
457 if (NULL != handle->cth) 457 if (NULL != handle->cth)
@@ -783,7 +783,7 @@ GNUNET_ARM_request_service_start (struct GNUNET_ARM_Handle *h,
783 * Stopping arm itself will not invalidate its handle, and 783 * Stopping arm itself will not invalidate its handle, and
784 * ARM API will try to restore connection to the ARM service, 784 * ARM API will try to restore connection to the ARM service,
785 * even if ARM connection was lost because you asked for ARM to be stopped. 785 * even if ARM connection was lost because you asked for ARM to be stopped.
786 * Call GNUNET_ARM_disconnect () to free the handle and prevent 786 * Call GNUNET_ARM_disconnect_and_free () to free the handle and prevent
787 * further connection attempts. 787 * further connection attempts.
788 * 788 *
789 * @param h handle to ARM 789 * @param h handle to ARM