summaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2013-06-12 16:36:13 +0300
committerNick Mathewson <nickm@torproject.org>2013-07-18 08:45:03 -0400
commit1a0cf08841904940ed46b2fcfd79cf65c65a1a6c (patch)
tree67cc87d4e1d641829243ee81908cef0a5bec4353 /src/common/util.c
parentea72958f25f6326d6947c8cd4ef185912582d436 (diff)
downloadtor-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/common/util.c')
-rw-r--r--src/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index bd38a62800..eb932f3054 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -1227,7 +1227,7 @@ escaped(const char *s)
* <b>chars_to_escape</b>. The returned string is allocated on the
* heap and it's the responsibility of the caller to free it. */
char *
-tor_escape_str_for_socks_arg(const char *string, const char *chars_to_escape)
+tor_escape_str_for_pt_args(const char *string, const char *chars_to_escape)
{
char *new_string = NULL;
char *new_cp = NULL;