summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-07-05 15:59:17 -0400
committerNick Mathewson <nickm@torproject.org>2017-07-05 15:59:17 -0400
commita85ee62e74905af0c685d378be9dfc8ae1935af5 (patch)
treee4461dffb76ecd8b1c221a6933c03725175a921e /src/or/control.c
parent13024c79328ac29a037aeb8d6d4d3325068bd167 (diff)
downloadtor-a85ee62e74905af0c685d378be9dfc8ae1935af5.tar.gz
tor-a85ee62e74905af0c685d378be9dfc8ae1935af5.zip
Make the strings from #1667 static.
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c
index dc431d6d51..724d4b35c0 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -4918,7 +4918,7 @@ peek_connection_has_http_command(connection_t *conn)
return peek_buf_has_http_command(conn->inbuf);
}
-const char CONTROLPORT_IS_NOT_AN_HTTP_PROXY_MSG[] =
+static const char CONTROLPORT_IS_NOT_AN_HTTP_PROXY_MSG[] =
"HTTP/1.0 501 Tor ControlPort is not an HTTP proxy"
"\r\nContent-Type: text/html; charset=iso-8859-1\r\n\r\n"
"<html>\n"