aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
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 72394e8777..a7e3c1656b 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -2372,7 +2372,7 @@ connection_ap_supports_optimistic_data(const edge_connection_t *conn)
conn->on_circuit->purpose != CIRCUIT_PURPOSE_C_GENERAL)
return 0;
- return conn->exit_allows_optimistic_data;
+ return conn->may_use_optimistic_data;
}
/** Write a relay begin cell, using destaddr and destport from ap_conn's