diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-08-08 21:59:48 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-08-08 21:59:48 +0000 |
commit | 943ef5256b85b35c70b44fcf2292f799a5ab3b8b (patch) | |
tree | f14b6d8478c03a7be37485db39fb9b126470858a /src | |
parent | 249b72f53e59beaefbc7b71ac0051c8afc110573 (diff) | |
download | tor-943ef5256b85b35c70b44fcf2292f799a5ab3b8b.tar.gz tor-943ef5256b85b35c70b44fcf2292f799a5ab3b8b.zip |
fix whitespace issues
svn:r4752
Diffstat (limited to 'src')
-rw-r--r-- | src/common/crypto.c | 2 | ||||
-rw-r--r-- | src/or/hibernate.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index bf7d5f1005..472af33cd2 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -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"); return -1; } diff --git a/src/or/hibernate.c b/src/or/hibernate.c index 43f50e96c8..db9c108131 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -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); } |