hal: Branch 'master'
Danny Kukawka
dkukawka at kemper.freedesktop.org
Tue Mar 4 05:51:39 PST 2008
libhal/libhal.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit dfeffae13d40e1af6c64122f10127e4f997414df
Author: Danny Kukawka <danny.kukawka at web.de>
Date: Tue Mar 4 14:49:12 2008 +0100
s/LIBHAL_CHECK_LIBHALCONTEXT/LIBHAL_CHECK_PARAM_VALID/
Fixed usage of LIBHAL_CHECK_LIBHALCONTEXT() in
libhal_get_all_devices_with_properties(). For parameter checks use
LIBHAL_CHECK_PARAM_VALID() instead.
diff --git a/libhal/libhal.c b/libhal/libhal.c
index 95837e5..be98d43 100644
--- a/libhal/libhal.c
+++ b/libhal/libhal.c
@@ -5091,9 +5091,9 @@ dbus_bool_t libhal_get_all_devices_with_properties (LibHalContext *ctx,
unsigned int n;
LIBHAL_CHECK_LIBHALCONTEXT (ctx, FALSE);
- LIBHAL_CHECK_LIBHALCONTEXT (out_num_devices, FALSE);
- LIBHAL_CHECK_LIBHALCONTEXT (out_udi, FALSE);
- LIBHAL_CHECK_LIBHALCONTEXT (out_properties, FALSE);
+ LIBHAL_CHECK_PARAM_VALID (out_num_devices, "*out_num_devices",FALSE);
+ LIBHAL_CHECK_PARAM_VALID (out_udi, "***out_udi", FALSE);
+ LIBHAL_CHECK_PARAM_VALID (out_properties, "***out_properties", FALSE);
*out_num_devices = 0;
*out_udi = NULL;
More information about the hal-commit
mailing list