summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-11-30 02:26:41 +0000
committerNick Mathewson <nickm@torproject.org>2004-11-30 02:26:41 +0000
commitee7bef1458bb1dcf78ed1990aea884ad04198fa6 (patch)
tree55aa91334ce075a6096b235854867bc84ed13f00
parente764d00e15bc3059bb7f204bb39b0ff9c4c45118 (diff)
downloadtor-ee7bef1458bb1dcf78ed1990aea884ad04198fa6.tar.gz
tor-ee7bef1458bb1dcf78ed1990aea884ad04198fa6.zip
Enforce coding style.
svn:r3025
-rw-r--r--src/or/circuituse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 702a50b2fe..12f50ee881 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -717,10 +717,10 @@ circuit_get_open_circ_or_launch(connection_t *conn,
/* If we have specified a particular exit node for our
* connection, then be sure to open a circuit to that exit node.
*/
- if(desired_circuit_purpose == CIRCUIT_PURPOSE_C_GENERAL) {
+ if (desired_circuit_purpose == CIRCUIT_PURPOSE_C_GENERAL) {
if (conn->chosen_exit_name) {
exitname = tor_strdup(conn->chosen_exit_name);
- if(!router_get_by_nickname(exitname)) {
+ if (!router_get_by_nickname(exitname)) {
log_fn(LOG_WARN,"Requested exit point '%s' is not known. Closing.", exitname);
tor_free(exitname);
return -1;