aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-02-27 17:50:58 +0100
committerBjörn-Egil Dahlberg <[email protected]>2014-02-27 18:39:07 +0100
commit615e41b3810cecc7a30668193ce1fb0207cc42c7 (patch)
tree681b4ee32a3a603bca9d0a04c2373f9e542f2850 /lib/snmp
parent2202a8880f5472ce4bf65afdb967c70a12f35703 (diff)
downloadotp-615e41b3810cecc7a30668193ce1fb0207cc42c7.tar.gz
otp-615e41b3810cecc7a30668193ce1fb0207cc42c7.tar.bz2
otp-615e41b3810cecc7a30668193ce1fb0207cc42c7.zip
erts: Fix Map cmp exact equal of an empty map
The expression, #{} =:= M where M was any Map, would always result in 'true'. This commit fixes this issue by first comparing sizes for both terms and then checking for size zero.
Diffstat (limited to 'lib/snmp')
0 files changed, 0 insertions, 0 deletions