summaryrefslogtreecommitdiff
path: root/src/or/buffers.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-02-14 16:45:18 -0500
committerNick Mathewson <nickm@torproject.org>2017-02-14 16:45:18 -0500
commit4c1ecd75830cbf43bc39b9c77ee01b3ce138e40c (patch)
tree7efee26cecd81f0426de9aaeda2f5ac24be1bc79 /src/or/buffers.h
parentff088ea7d7eb854846a5611361f4744f9bb0ee9e (diff)
downloadtor-4c1ecd75830cbf43bc39b9c77ee01b3ce138e40c.tar.gz
tor-4c1ecd75830cbf43bc39b9c77ee01b3ce138e40c.zip
fixup! Don't atoi off the end of a buffer chunk.
Use STATIC.
Diffstat (limited to 'src/or/buffers.h')
-rw-r--r--src/or/buffers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/buffers.h b/src/or/buffers.h
index 9762cf2af2..a9273dcd0e 100644
--- a/src/or/buffers.h
+++ b/src/or/buffers.h
@@ -98,7 +98,7 @@ struct buf_t {
#endif
#ifdef BUFFERS_PRIVATE
-int buf_http_find_content_length(const char *headers, size_t headerlen,
+STATIC int buf_http_find_content_length(const char *headers, size_t headerlen,
size_t *result_out);
#endif