aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-05-01 22:08:43 +0000
committerNick Mathewson <nickm@torproject.org>2004-05-01 22:08:43 +0000
commitf6fe336ad41fadc5e21517ce97e46a190d01407e (patch)
treeb56330458c5630736c56b1a2637126a92274683f /src/or/test.c
parent4dc30ea3c87f056e2fad55649c69306a5ffa1503 (diff)
downloadtor-f6fe336ad41fadc5e21517ce97e46a190d01407e.tar
tor-f6fe336ad41fadc5e21517ce97e46a190d01407e.tar.gz
Documenmt buffers.c; remove function that nobody ever calls.
svn:r1760
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/test.c b/src/or/test.c
index 6e37ba143..9d1fffc74 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -136,6 +136,8 @@ test_buffers() {
close(s);
+
+#if 0
/****
* find_on_inbuf
****/
@@ -156,6 +158,7 @@ test_buffers() {
test_eq(-1, find_on_inbuf("AX", 2, buf));
/* Make sure we use the string length */
test_eq(((int)'d')+1, find_on_inbuf("abcdX", 4, buf));
+#endif
/****
* fetch_from_buf