hal: Branch 'master'

David Zeuthen david at kemper.freedesktop.org
Thu Aug 9 10:31:11 PDT 2007


 libhal/libhal.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree bd213ae5a9ca9bc1f8889059647f25462936b855 (from e87f18c41a3f998a7c2b59f041fc9cd19026c048)
Author: David Zeuthen <davidz at redhat.com>
Date:   Thu Aug 9 13:28:45 2007 -0400

    fix libhal_psi_has_more() incorrect behavior
    
    The last entry is not returned.

diff --git a/libhal/libhal.c b/libhal/libhal.c
index f3242bf..cb979b0 100644
--- a/libhal/libhal.c
+++ b/libhal/libhal.c
@@ -760,7 +760,7 @@ libhal_psi_init (LibHalPropertySetIterat
 dbus_bool_t
 libhal_psi_has_more (LibHalPropertySetIterator * iter)
 {
-	return (iter->cur_prop->hh.next != NULL);
+	return (iter->cur_prop != NULL);
 }
 
 /**


More information about the hal-commit mailing list