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/dirserv.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/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index e96adc0a71..5af1e928c3 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -604,8 +604,9 @@ dirserv_dump_directory_to_string(char *s, size_t maxlen, return -1; } #else - { int l; - if(crypto_pk_write_public_key_to_string(private_key, &identity_pkey, &l)<0){ + { + int l; + if(crypto_pk_write_public_key_to_string(private_key,&identity_pkey,&l)<0) { log_fn(LOG_WARN,"write identity_pkey to string failed!"); return -1; } @@ -847,8 +848,9 @@ static int generate_runningrouters(crypto_pk_env_t *private_key) goto err; } #else - { int l; - if(crypto_pk_write_public_key_to_string(private_key, &identity_pkey, &l)<0){ + { + int l; + if(crypto_pk_write_public_key_to_string(private_key,&identity_pkey,&l)<0) { log_fn(LOG_WARN,"write identity_pkey to string failed!"); goto err; } |