Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ v1] gdbus: Fix compilation error if macro "error" is defined
@ 2012-08-16 12:51 Jaganath Kanakkassery
  2012-08-16 19:01 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Jaganath Kanakkassery @ 2012-08-16 12:51 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Jaganath Kanakkassery

The variable "signature" used in error is not defined and "args" is now
a struct instead of a string.
---
v1 -> Made a note of the removal of variable "args" in the commit message

 gdbus/object.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gdbus/object.c b/gdbus/object.c
index 900e7ab..9689006 100644
--- a/gdbus/object.c
+++ b/gdbus/object.c
@@ -645,8 +645,8 @@ static dbus_bool_t emit_signal_valist(DBusConnection *conn,
 		goto fail;
 
 	if (g_dbus_args_have_signature(args, signal) == FALSE) {
-		error("%s.%s: expected signature'%s' but got '%s'",
-				interface, name, args, signature);
+		error("%s.%s: got unexpected signature '%s'", interface, name,
+					dbus_message_get_signature(signal));
 		ret = FALSE;
 		goto fail;
 	}
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-16 19:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-16 12:51 [PATCH BlueZ v1] gdbus: Fix compilation error if macro "error" is defined Jaganath Kanakkassery
2012-08-16 19:01 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox