diff options
author | Roger Dingledine <arma@torproject.org> | 2003-11-20 17:49:45 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-11-20 17:49:45 +0000 |
commit | 975bb680106f58bc1fced05a932f452e661e0157 (patch) | |
tree | 878045d9301df8eca9aaa957fd0134d14e963aff /src/or/circuit.c | |
parent | 84fffd3652edf6381a487d5b3b08023e39dab763 (diff) | |
download | tor-975bb680106f58bc1fced05a932f452e661e0157.tar.gz tor-975bb680106f58bc1fced05a932f452e661e0157.zip |
simplify: options.OnionRouter==1 iff options.ORPort>0
svn:r857
Diffstat (limited to 'src/or/circuit.c')
-rw-r--r-- | src/or/circuit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c index 0455b8d274..3a352f9c43 100644 --- a/src/or/circuit.c +++ b/src/or/circuit.c @@ -748,7 +748,7 @@ int circuit_establish_circuit(void) { if(!n_conn || n_conn->state != OR_CONN_STATE_OPEN) { /* not currently connected */ circ->n_addr = firsthop->addr; circ->n_port = firsthop->or_port; - if(options.OnionRouter) { /* we would be connected if he were up. but he's not. */ + if(options.ORPort) { /* we would be connected if he were up. and he's not. */ log_fn(LOG_INFO,"Route's firsthop isn't connected."); circuit_close(circ); return -1; |