diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-04-25 19:00:31 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-04-25 19:01:05 -0400 |
commit | fec3050ea968ae913b108a4c48bce2293b92072c (patch) | |
tree | 224bbcd5c61ba75d638c2609f156532af44afc66 /src/or/directory.c | |
parent | fd48b757d3a85099057d27a74555d87fcd33936e (diff) | |
download | tor-fec3050ea968ae913b108a4c48bce2293b92072c.tar.gz tor-fec3050ea968ae913b108a4c48bce2293b92072c.zip |
Tests for parse_accept_encoding
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 8229279a47..95c3c8481e 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -2792,7 +2792,7 @@ write_http_response_header(dir_connection_t *conn, ssize_t length, /** Parse the compression methods listed in an Accept-Encoding header <b>h</b>, * and convert them to a bitfield where compression method x is supported if * and only if 1 << x is set in the bitfield. */ -static unsigned +STATIC unsigned parse_accept_encoding_header(const char *h) { unsigned result = (1u << NO_METHOD); |