aboutsummaryrefslogtreecommitdiff
path: root/src/or/transports.c
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2012-02-13 00:59:49 -0800
committerNick Mathewson <nickm@torproject.org>2012-02-17 11:42:20 -0500
commitc0808b795f9b52184a18e7a2960f56ed0e330c4b (patch)
tree0a9ef6fda76d734ffef261c196262bcd10c9cf33 /src/or/transports.c
parentee3a49d6ed157b0d27a31f527bc5a55d0b2dad9d (diff)
downloadtor-c0808b795f9b52184a18e7a2960f56ed0e330c4b.tar.gz
tor-c0808b795f9b52184a18e7a2960f56ed0e330c4b.zip
Pass process_environment_t * to tor_spawn_background
Now tor_spawn_background's prototype is OS-independent.
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 b3c8382461..c10490e26c 100644
--- a/src/or/transports.c
+++ b/src/or/transports.c
@@ -288,12 +288,12 @@ launch_managed_proxy(managed_proxy_t *mp)
/* Passing NULL as lpApplicationName makes Windows search for the .exe */
retval = tor_spawn_background(NULL,
(const char **)mp->argv,
- env->windows_environment_block,
+ env,
&mp->process_handle);
#else
retval = tor_spawn_background(mp->argv[0],
(const char **)mp->argv,
- env->unixoid_environment_block,
+ env,
&mp->process_handle);
#endif