diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-11-22 23:28:26 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-11-22 23:28:26 +0000 |
commit | 22dba27d8dd55e3494775b9241e258e494caf5d3 (patch) | |
tree | 8e3e1a756c6efc65d8211e884bf5c5b9dd60dea1 /src/or/rendservice.c | |
parent | fe32c2d1412e7a3906fa4f0ae0f99f12de5b882b (diff) | |
download | tor-22dba27d8dd55e3494775b9241e258e494caf5d3.tar.gz tor-22dba27d8dd55e3494775b9241e258e494caf5d3.zip |
Normalize a few more kinds of whitespace. We now dislike:
- func (args)
- if (x){
This doesn't normalize if(x), for(x); while(x), and friends.
svn:r2943
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r-- | src/or/rendservice.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index a38b536603..d8e86e68f2 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -378,7 +378,7 @@ rend_service_introduce(circuit_t *circuit, const char *request, size_t request_l /* min key length plus digest length plus nickname length */ if (request_len < DIGEST_LEN+REND_COOKIE_LEN+(MAX_NICKNAME_LEN+1)+ - DH_KEY_LEN+42){ + DH_KEY_LEN+42) { log_fn(LOG_WARN, "Got a truncated INTRODUCE2 cell on circ %d", circuit->n_circ_id); return -1; @@ -816,7 +816,8 @@ void rend_services_introduce(void) { /* One period has elapsed; we can try building circuits again. */ service->intro_period_started = now; service->n_intro_circuits_launched = 0; - } else if (service->n_intro_circuits_launched>=MAX_INTRO_CIRCS_PER_PERIOD){ + } else if (service->n_intro_circuits_launched >= + MAX_INTRO_CIRCS_PER_PERIOD) { /* We have failed too many times in this period; wait for the next * one before we try again. */ continue; |