aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-08-02 13:15:10 -0400
committerNick Mathewson <nickm@torproject.org>2016-08-02 13:15:10 -0400
commitc68a23a135369380dad5cb1ff393edee74e6d6ac (patch)
tree07d73988f70fcaf6a61ccf94a87dacd7e68eed5e /src/or/directory.c
parent8e9a6543e110eb8f96169f011e18c3e4b6a4f7d1 (diff)
downloadtor-c68a23a135369380dad5cb1ff393edee74e6d6ac.tar.gz
tor-c68a23a135369380dad5cb1ff393edee74e6d6ac.zip
Bufferevent removal: remove HAS_BUFFEREVENT macros and usage
This is another way that we had bufferevents-only code marked.
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 11594ff476..d37b5c2e0f 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -1272,11 +1272,7 @@ directory_initiate_command_rend(const tor_addr_port_t *or_addr_port,
if_modified_since);
connection_watch_events(TO_CONN(conn), READ_EVENT|WRITE_EVENT);
- IF_HAS_BUFFEREVENT(ENTRY_TO_CONN(linked_conn), {
- connection_watch_events(ENTRY_TO_CONN(linked_conn),
- READ_EVENT|WRITE_EVENT);
- }) ELSE_IF_NO_BUFFEREVENT
- connection_start_reading(ENTRY_TO_CONN(linked_conn));
+ connection_start_reading(ENTRY_TO_CONN(linked_conn));
}
}