summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-08-02 13:33:41 -0400
committerNick Mathewson <nickm@torproject.org>2016-08-02 13:33:41 -0400
commitcd9d39d54bbc9998938e9acddb1ec34507fc9108 (patch)
treea6ef33cab53e6c79fd6133e361e44e1e5f1df421 /src/or/connection_edge.c
parent88a7a027286046b1f9af3d495c1081a7f503efc5 (diff)
downloadtor-cd9d39d54bbc9998938e9acddb1ec34507fc9108.tar.gz
tor-cd9d39d54bbc9998938e9acddb1ec34507fc9108.zip
Rename generic_buffer_set_to_copy, since generic buffers are not a thing
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index d5eada61d8..4fb195f17d 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1025,8 +1025,8 @@ connection_ap_detach_retriable(entry_connection_t *conn,
pathbias_mark_use_rollback(circ);
if (conn->pending_optimistic_data) {
- generic_buffer_set_to_copy(&conn->sending_optimistic_data,
- conn->pending_optimistic_data);
+ buf_set_to_copy(&conn->sending_optimistic_data,
+ conn->pending_optimistic_data);
}
if (!get_options()->LeaveStreamsUnattached || conn->use_begindir) {