diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-11-28 09:05:49 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-11-28 09:05:49 +0000 |
commit | 6f5dbefa7efe0c0c86928777b8821b3fdc91cf45 (patch) | |
tree | e92106bd8cac85684983daf62d952a9d8e6b8f18 /src/or/rendservice.c | |
parent | 67dc7baa59e2b38a6720d843b54257ca0dd9e722 (diff) | |
download | tor-6f5dbefa7efe0c0c86928777b8821b3fdc91cf45.tar.gz tor-6f5dbefa7efe0c0c86928777b8821b3fdc91cf45.zip |
Normalize space: add one between every control keyword and control clause.
svn:r3003
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r-- | src/or/rendservice.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 86e2ac7221..000e23563d 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -266,7 +266,7 @@ static void rend_service_update_descriptor(rend_service_t *service) d->intro_points = tor_malloc(sizeof(char*)*n); for (i=0; i < n; ++i) { router = router_get_by_nickname(smartlist_get(service->intro_nodes, i)); - if(!router) { + if (!router) { log_fn(LOG_WARN,"Router '%s' not found. Skipping.", (char*)smartlist_get(service->intro_nodes, i)); continue; @@ -457,12 +457,12 @@ rend_service_introduce(circuit_t *circuit, const char *request, size_t request_l /* Launch a circuit to alice's chosen rendezvous point. */ - for(i=0;i<MAX_REND_FAILURES;i++) { + for (i=0;i<MAX_REND_FAILURES;i++) { launched = circuit_launch_by_nickname(CIRCUIT_PURPOSE_S_CONNECT_REND, rp_nickname); if (launched) break; } - if(!launched) { /* give up */ + if (!launched) { /* give up */ log_fn(LOG_WARN,"Giving up launching first hop of circuit to rendezvous point '%s' for service %s", rp_nickname, serviceid); goto err; @@ -514,7 +514,7 @@ rend_service_relaunch_rendezvous(circuit_t *oldcirc) oldstate = oldcirc->build_state; tor_assert(oldstate); - if(oldstate->pending_final_cpath == NULL) { + if (oldstate->pending_final_cpath == NULL) { log_fn(LOG_INFO,"Skipping relaunch of circ that failed on its first hop. Initiator will retry."); return; } |