diff options
author | Siri Hansen <[email protected]> | 2012-08-27 15:26:26 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2012-08-27 15:26:26 +0200 |
commit | 66573cb4ea59e0ff6251a598dab8a8aecfbedbd2 (patch) | |
tree | 1395991e76a651775d70aff446bde44787b9de7a /lib/common_test/src | |
parent | 8363e8e8edfce1c6587d3728a29b9014a5fc929a (diff) | |
parent | 9da25b28d6f4f50f06aac77371417abc395e00d2 (diff) | |
download | otp-66573cb4ea59e0ff6251a598dab8a8aecfbedbd2.tar.gz otp-66573cb4ea59e0ff6251a598dab8a8aecfbedbd2.tar.bz2 otp-66573cb4ea59e0ff6251a598dab8a8aecfbedbd2.zip |
Merge branch 'siri/common_test/ct_netconfc/OTP-10025' into maint
* siri/common_test/ct_netconfc/OTP-10025:
[common_test] Close log files when deleting ct_conn_log_h error handler
Diffstat (limited to 'lib/common_test/src')
-rw-r--r-- | lib/common_test/src/ct_conn_log_h.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_conn_log_h.erl b/lib/common_test/src/ct_conn_log_h.erl index f3b6781971..bf27238121 100644 --- a/lib/common_test/src/ct_conn_log_h.erl +++ b/lib/common_test/src/ct_conn_log_h.erl @@ -84,7 +84,7 @@ handle_call(_Query, State) -> {ok, {error, bad_query}, State}. terminate(_,#state{logs=Logs}) -> - [file:close(Fd) || {_,_,Fds} <- Logs, Fd <- Fds], + [file:close(Fd) || {_,{_,Fds}} <- Logs, {_,Fd} <- Fds], ok. |