From 1a0cf08841904940ed46b2fcfd79cf65c65a1a6c Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Wed, 12 Jun 2013 16:36:13 +0300 Subject: 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. --- src/common/util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/util.h') 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) \ -- cgit v1.2.3-54-g00ecf