diff options
author | David Cantrell <dcantrell@redhat.com> | 2008-12-05 20:11:29 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2008-12-05 20:11:29 -1000 |
commit | 14d1f842bb340eea29dfaff5361173e11fdb9cc1 (patch) | |
tree | a5e8b6ac264ee480041977476dd46e7e23fe3725 /isys | |
parent | 10ce3c76b170bc16fab99a9135a88b06eb70c31f (diff) | |
download | anaconda-14d1f842bb340eea29dfaff5361173e11fdb9cc1.tar.gz anaconda-14d1f842bb340eea29dfaff5361173e11fdb9cc1.tar.xz anaconda-14d1f842bb340eea29dfaff5361173e11fdb9cc1.zip |
In iface_ip2str(), make sure to advance to next item before continue.
We have to manually advance the iter when working with D-Bus, so if
continue in a loop, be sure to call the next() function on the iter.
Diffstat (limited to 'isys')
-rw-r--r-- | isys/iface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/isys/iface.c b/isys/iface.c index 9bc55821e..d0613e20d 100644 --- a/isys/iface.c +++ b/isys/iface.c @@ -224,6 +224,7 @@ char *iface_ip2str(char *ifname, int family) { -1, &error); dbus_message_unref(message); if (!devreply) { + dbus_message_iter_next(&a_iter); continue; } |