diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-07-05 15:59:17 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-07-05 15:59:17 -0400 |
commit | a85ee62e74905af0c685d378be9dfc8ae1935af5 (patch) | |
tree | e4461dffb76ecd8b1c221a6933c03725175a921e /src/or/buffers.c | |
parent | 13024c79328ac29a037aeb8d6d4d3325068bd167 (diff) | |
download | tor-a85ee62e74905af0c685d378be9dfc8ae1935af5.tar.gz tor-a85ee62e74905af0c685d378be9dfc8ae1935af5.zip |
Make the strings from #1667 static.
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index 2002f4f981..d5ecfb8488 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -1478,7 +1478,7 @@ socks_request_set_socks5_error(socks_request_t *req, req->reply[3] = 0x01; // ATYP field. } -const char SOCKS_PROXY_IS_NOT_AN_HTTP_PROXY_MSG[] = +static const char SOCKS_PROXY_IS_NOT_AN_HTTP_PROXY_MSG[] = "HTTP/1.0 501 Tor is not an HTTP Proxy\r\n" "Content-Type: text/html; charset=iso-8859-1\r\n\r\n" "<html>\n" |