summaryrefslogtreecommitdiff
path: root/src/common/util.h
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.h
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.h')
-rw-r--r--src/common/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.h b/src/common/util.h
index ba0ec98685..0a8e4a23fc 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -231,8 +231,8 @@ int tor_digest256_is_zero(const char *digest);
char *esc_for_log(const char *string) ATTR_MALLOC;
const char *escaped(const char *string);
-char *tor_escape_str_for_socks_arg(const char *string,
- const char *chars_to_escape);
+char *tor_escape_str_for_pt_args(const char *string,
+ const char *chars_to_escape);
struct smartlist_t;
int tor_vsscanf(const char *buf, const char *pattern, va_list ap) \