diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2010-08-15 14:22:32 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2010-08-16 00:45:32 +0200 |
commit | 4c49d3c27eb664561f1cc953f7c6fa441ac7cedc (patch) | |
tree | 03424019eeb6f2528b04b242be5cb8352f5adb02 /src/or/config.c | |
parent | 70f0ba1495dce3b7c912354e2690fa9588b4e5b5 (diff) | |
download | tor-4c49d3c27eb664561f1cc953f7c6fa441ac7cedc.tar.gz tor-4c49d3c27eb664561f1cc953f7c6fa441ac7cedc.zip |
Refactor circuit_build_times_parse_state
Remove the msg parameter to pass an error message out. This
wasn't needed and made it harder to detect a memory leak.
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/config.c b/src/or/config.c index ef2b2ddeab..e65d1329ce 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -4971,9 +4971,7 @@ or_state_set(or_state_t *new_state) tor_free(err); ret = -1; } - if (circuit_build_times_parse_state(&circ_times, global_state, &err) < 0) { - log_warn(LD_GENERAL,"%s",err); - tor_free(err); + if (circuit_build_times_parse_state(&circ_times, global_state) < 0) { ret = -1; } return ret; |