Re: [PATCH 1/1] Check error beofre call dbus_message_get_args to acquire arguments.

2010-04-26 Thread Marcel Holtmann
Hi Martin, I think you see the spelling mistake in the subject after me point you at it ;) And please figure out why this email gets threaded as part of an old thread. It should be a new one actually. > Function dbus_message_get_args just checks the signature which may > happens to be s(string),

[PATCH 1/1] Check error beofre call dbus_message_get_args to acquire arguments.

2010-04-26 Thread martin . xu
From: Martin Xu Function dbus_message_get_args just checks the signature which may happens to be s(string), then it will just return TRUE, and the wrong error message is gotten. So dbus_set_error_from_message is used to check the error, before call dbus_message_get_args. --- plugins/bluetooth.c