diff options
author | George Kadianakis <desnacked@riseup.net> | 2013-06-12 16:36:13 +0300 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-07-18 08:45:03 -0400 |
commit | 1a0cf08841904940ed46b2fcfd79cf65c65a1a6c (patch) | |
tree | 67cc87d4e1d641829243ee81908cef0a5bec4353 /src/or/transports.c | |
parent | ea72958f25f6326d6947c8cd4ef185912582d436 (diff) | |
download | tor-1a0cf08841904940ed46b2fcfd79cf65c65a1a6c.tar.gz tor-1a0cf08841904940ed46b2fcfd79cf65c65a1a6c.zip |
Rename tor_escape_str_for_socks_arg() to something more generic.
Since we are going to be using that function to also escape parameters
passed to transport proxies using environment variables.
Diffstat (limited to 'src/or/transports.c')
-rw-r--r-- | src/or/transports.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/transports.c b/src/or/transports.c index 6f17702386..6b6882ae73 100644 --- a/src/or/transports.c +++ b/src/or/transports.c @@ -1440,7 +1440,7 @@ pt_stringify_socks_args(const smartlist_t *socks_args) SMARTLIST_FOREACH_BEGIN(socks_args, const char *, s) { /* Escape ';' and '\'. */ - escaped_string = tor_escape_str_for_socks_arg(s, ";\\"); + escaped_string = tor_escape_str_for_pt_args(s, ";\\"); if (!escaped_string) goto done; |