summaryrefslogtreecommitdiff
path: root/src/or/transports.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@gmail.com>2011-10-24 16:04:31 +0200
committerGeorge Kadianakis <desnacked@gmail.com>2011-10-24 16:04:31 +0200
commit6b3c3b968f9607e45fa18f91cedfc8fce8d0d8cc (patch)
treec5abdf2de76146e26682e3180edbea36df7d4ed5 /src/or/transports.c
parentcf08cd47cce73a7c4c7c24d8b0cc361570c2baa4 (diff)
downloadtor-6b3c3b968f9607e45fa18f91cedfc8fce8d0d8cc.tar.gz
tor-6b3c3b968f9607e45fa18f91cedfc8fce8d0d8cc.zip
Rename tor_process_destroy() to tor_process_handle_destroy().
Diffstat (limited to 'src/or/transports.c')
-rw-r--r--src/or/transports.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/transports.c b/src/or/transports.c
index fc95a73c8c..e60e98f4ea 100644
--- a/src/or/transports.c
+++ b/src/or/transports.c
@@ -238,7 +238,7 @@ proxy_prepare_for_restart(managed_proxy_t *mp)
tor_assert(mp->conf_state == PT_PROTO_COMPLETED);
/* destroy the process handle and terminate the process. */
- tor_process_destroy(mp->process_handle, 1);
+ tor_process_handle_destroy(mp->process_handle, 1);
/* create process handle for the upcoming new process. */
mp->process_handle = tor_malloc_zero(sizeof(process_handle_t));
@@ -545,7 +545,7 @@ managed_proxy_destroy(managed_proxy_t *mp,
/* free the argv */
free_execve_args(mp->argv);
- tor_process_destroy(mp->process_handle, also_terminate_process);
+ tor_process_handle_destroy(mp->process_handle, also_terminate_process);
tor_free(mp);
}