sim: callback: fix sentinel testing when walking maps
authorMike Frysinger <vapier@gentoo.org>
Thu, 18 Jun 2015 08:02:26 +0000 (04:02 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 18 Jun 2015 08:02:26 +0000 (04:02 -0400)
commit7aec3bb968de6847cc73809408dfe8aa78fe7de7
tree2370ae15583dc1e5603edc019cf1c4cefb971bd0
parentfaffbc648d247533b6cecfedbbaf2d640d72cad2
sim: callback: fix sentinel testing when walking maps

The new helpers for walking the maps tested the wrong value for exiting
the for loop.  This caused crashes when looking up entries that were not
in the map.
sim/common/ChangeLog
sim/common/callback.c