summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-08-02 13:40:19 -0400
committerNick Mathewson <nickm@torproject.org>2016-08-02 13:50:00 -0400
commit46ef4487d3914cac1aba148ec58ff271bda3c636 (patch)
tree300a4fdfb5f8714ae970fe78c9bd9beeda6c378b /src/or/connection_edge.c
parentcd9d39d54bbc9998938e9acddb1ec34507fc9108 (diff)
downloadtor-46ef4487d3914cac1aba148ec58ff271bda3c636.tar.gz
tor-46ef4487d3914cac1aba148ec58ff271bda3c636.zip
Remove generic_buffer_*() functions as needless.
These functions were there so that we could abstract the differences between evbuffer and buf_t. But with the bufferevent removal, this no longer serves a purpose.
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 4fb195f17d..2ac82bb46e 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -2340,7 +2340,7 @@ connection_ap_handshake_send_begin(entry_connection_t *ap_conn)
log_info(LD_APP, "Sending up to %ld + %ld bytes of queued-up data",
(long)connection_get_inbuf_len(base_conn),
ap_conn->sending_optimistic_data ?
- (long)generic_buffer_len(ap_conn->sending_optimistic_data) : 0);
+ (long)buf_datalen(ap_conn->sending_optimistic_data) : 0);
if (connection_edge_package_raw_inbuf(edge_conn, 1, NULL) < 0) {
connection_mark_for_close(base_conn);
}