svn:r4752
@@ -1395,7 +1395,7 @@ tor_check_dh_key(BIGNUM *bn)
log_fn(LOG_WARN, "Rejecting DH key < 0");
return -1;
}
- if (BN_cmp(bn, dh_param_p)>=0){
+ if (BN_cmp(bn, dh_param_p)>=0) {
log_fn(LOG_WARN, "Rejecting DH key >= p");
@@ -539,9 +539,6 @@ accounting_record_bandwidth_usage(time_t now)
tor_snprintf(fname, sizeof(fname), "%s/bw_accounting",
get_options()->DataDirectory);
-
return write_str_to_file(fname, buf, 0);