aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_oom.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-08-02 13:20:59 -0400
committerNick Mathewson <nickm@torproject.org>2016-08-02 13:22:06 -0400
commit8fd6b0fc46a63b99903ae340da1793db127ce680 (patch)
treeebd9212557cbcc290b1e35b5476e34427ff93b6a /src/test/test_oom.c
parentc68a23a135369380dad5cb1ff393edee74e6d6ac (diff)
downloadtor-8fd6b0fc46a63b99903ae340da1793db127ce680.tar.gz
tor-8fd6b0fc46a63b99903ae340da1793db127ce680.zip
Remove USE_BUFFEREVENTS code outside src/or
Diffstat (limited to 'src/test/test_oom.c')
-rw-r--r--src/test/test_oom.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/test/test_oom.c b/src/test/test_oom.c
index 2569b6e00f..59dfbc0ca1 100644
--- a/src/test/test_oom.c
+++ b/src/test/test_oom.c
@@ -101,13 +101,8 @@ dummy_edge_conn_new(circuit_t *circ,
else
conn = ENTRY_TO_EDGE_CONN(entry_connection_new(type, AF_INET));
-#ifdef USE_BUFFEREVENTS
- inbuf = bufferevent_get_input(TO_CONN(conn)->bufev);
- outbuf = bufferevent_get_output(TO_CONN(conn)->bufev);
-#else
inbuf = TO_CONN(conn)->inbuf;
outbuf = TO_CONN(conn)->outbuf;
-#endif
/* We add these bytes directly to the buffers, to avoid all the
* edge connection read/write machinery. */