[erlang-bugs] Bug in snmp_generic.erl
Serge Aleynikov
saleyn@REDACTED
Sun Feb 10 16:46:57 CET 2008
It appears to be present in all recent versions.
Serge
--- lib/snmp/src/agent/snmp_generic.erl.orig 2008-02-10
10:25:47.981319000 -0500
+++ lib/snmp/src/agent/snmp_generic.erl 2008-02-10 10:26:31.884368000 -0500
@@ -595,10 +595,10 @@
table_set_cols(NameDb, RowIndex, [{Col, Val} | Cols]) ->
case catch table_set_element(NameDb, RowIndex, Col, Val) of
true -> table_set_cols(NameDb, RowIndex, Cols);
- _X ->
+ X ->
user_err("snmp_generic:table_set_cols set ~w to"
" ~w returned ~w",
- [{NameDb, RowIndex}, {Col, Val}]),
+ [{NameDb, RowIndex}, {Col, Val}, X]),
{undoFailed, Col}
end.
More information about the erlang-bugs
mailing list