aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index cc26e42f2..fd0e609d2 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -1183,11 +1183,11 @@ connection_ap_handshake_attach_chosen_circuit(edge_connection_t *conn,
consider_recording_trackhost(conn, circ);
/* fall through */
case SOCKS_COMMAND_CONNECT_DIR:
- if (connection_ap_handshake_send_begin(conn, circ)<0)
+ if (connection_ap_handshake_send_begin(conn)<0)
return -1;
break;
default:
- if (connection_ap_handshake_send_resolve(conn, circ)<0)
+ if (connection_ap_handshake_send_resolve(conn)<0)
return -1;
}
@@ -1286,7 +1286,7 @@ connection_ap_handshake_attach_circuit(edge_connection_t *conn)
*/
rendcirc->_base.timestamp_dirty = time(NULL);
link_apconn_to_circ(conn, rendcirc);
- if (connection_ap_handshake_send_begin(conn, rendcirc) < 0)
+ if (connection_ap_handshake_send_begin(conn) < 0)
return 0; /* already marked, let them fade away */
return 1;
}