summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c10
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;
}