diff options
author | Peter Andersson <[email protected]> | 2014-03-22 00:41:08 +0100 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2014-03-22 00:41:08 +0100 |
commit | b46352eabdf52aff1de2f9db05b79be9076b4489 (patch) | |
tree | aaee0f87d47af1da4840382f07bab44768375d79 /lib/common_test/src | |
parent | 57a9bc4c710690d1c7b219a9cd53b8cecbe6851e (diff) | |
download | otp-b46352eabdf52aff1de2f9db05b79be9076b4489.tar.gz otp-b46352eabdf52aff1de2f9db05b79be9076b4489.tar.bz2 otp-b46352eabdf52aff1de2f9db05b79be9076b4489.zip |
Remove dead code
Diffstat (limited to 'lib/common_test/src')
-rw-r--r-- | lib/common_test/src/ct_conn_log_h.erl | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/common_test/src/ct_conn_log_h.erl b/lib/common_test/src/ct_conn_log_h.erl index d733df27dc..cff02a46d9 100644 --- a/lib/common_test/src/ct_conn_log_h.erl +++ b/lib/common_test/src/ct_conn_log_h.erl @@ -204,13 +204,8 @@ pretty_head({{{Y,Mo,D},{H,Mi,S}},MicroS},ConnMod,Text0) -> micro2milli(MicroS)]). pretty_title(#conn_log{client=Client}=Info) -> - case actionstr(Info) of - {no_server,Action} -> - io_lib:format("= Client ~w ~s ",[Client,Action]); - Action -> - io_lib:format("= Client ~w ~s ~ts ",[Client,Action, - serverstr(Info)]) - end. + io_lib:format("= Client ~w ~s ~ts ", + [Client,actionstr(Info),serverstr(Info)]). actionstr(#conn_log{action=send}) -> "----->"; actionstr(#conn_log{action=cmd}) -> "----->"; |