summaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-10-03 16:32:00 -0400
committerNick Mathewson <nickm@torproject.org>2016-10-04 15:43:20 -0400
commit05aed5b635fa7148fe2a4ea87e7296fa6bec3087 (patch)
treef45449d1ee6666ed094cd0afed4f158099f2e31d /src/common/util.c
parent684500519d5060fcbcc410a0e71d8d9a32fa8220 (diff)
downloadtor-05aed5b635fa7148fe2a4ea87e7296fa6bec3087.tar.gz
tor-05aed5b635fa7148fe2a4ea87e7296fa6bec3087.zip
Allow a unix: address to contain a C-style quoted string.
Feature 18753 -- all this to allow spaces.
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 259ff8756f..c632ee498e 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -2906,7 +2906,7 @@ read_file_to_str, (const char *filename, int flags, struct stat *stat_out))
* provided), and return a pointer to the position in <b>s</b> immediately
* after the string. On failure, return NULL.
*/
-static const char *
+const char *
unescape_string(const char *s, char **result, size_t *size_out)
{
const char *cp;