dbus: Cleanup and fix loops
authorJouni Malinen <j@w1.fi>
Fri, 1 Jan 2010 12:25:25 +0000 (14:25 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 1 Jan 2010 12:25:25 +0000 (14:25 +0200)
commitde7a79ceb6ea38481d6db55a06a184bb2cc8d60b
tree443f87e6338c7bf15e45e10e49d55fccba47244f
parent4292b01322dab343cba47b4e005bc29501284cec
dbus: Cleanup and fix loops

Simpler to use for loops instead of handling next pointer selection
in all places. In addition, couple of functions could have ended up
in an infinite loop on error path since the pointer update was missed.
wpa_supplicant/dbus/dbus_new_introspect.c