diff options
author | Micael Karlberg <[email protected]> | 2011-03-08 18:29:13 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2011-03-08 18:29:13 +0100 |
commit | 49071db42818592e99950e5e971e877bb2ca2f59 (patch) | |
tree | 745fc55fa07ac20abaed2bf30d375001168c7667 /lib/snmp/test/snmp_agent_test_lib.erl | |
parent | 252ae114a1482a67aaa24ecbf83a40d2e2dc173c (diff) | |
download | otp-49071db42818592e99950e5e971e877bb2ca2f59.tar.gz otp-49071db42818592e99950e5e971e877bb2ca2f59.tar.bz2 otp-49071db42818592e99950e5e971e877bb2ca2f59.zip |
Mostly esthetic stuff...
Diffstat (limited to 'lib/snmp/test/snmp_agent_test_lib.erl')
-rw-r--r-- | lib/snmp/test/snmp_agent_test_lib.erl | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/lib/snmp/test/snmp_agent_test_lib.erl b/lib/snmp/test/snmp_agent_test_lib.erl index 9e89aa889c..3ae2409997 100644 --- a/lib/snmp/test/snmp_agent_test_lib.erl +++ b/lib/snmp/test/snmp_agent_test_lib.erl @@ -1311,10 +1311,12 @@ rewrite_target_addr_conf(Dir, NewPort) -> "~n NewPort: ~p", [NewPort]), TAFile = filename:join(Dir, "target_addr.conf"), case file:read_file_info(TAFile) of - {ok, _} -> ok; - {error, R} -> ?ERR("failure reading file info of " - "target address config file: ~p",[R]), - ok + {ok, _} -> + ok; + {error, R} -> + ?ERR("failure reading file info of " + "target address config file: ~p",[R]), + ok end, ?line [TrapAddr|Addrs] = @@ -1335,8 +1337,9 @@ rewrite_target_addr_conf(Dir, NewPort) -> rewrite_target_addr_conf_check(O) -> {ok,O}. -rewrite_target_addr_conf2(NewPort,{Name,Ip,_Port,Timeout,Retry, - "std_trap",EngineId}) -> +rewrite_target_addr_conf2(NewPort, + {Name, Ip, _Port, Timeout, Retry, + "std_trap", EngineId}) -> ?LOG("rewrite_target_addr_conf2 -> entry with std_trap",[]), {Name,Ip,NewPort,Timeout,Retry,"std_trap",EngineId}; rewrite_target_addr_conf2(_NewPort,O) -> |