Thread (5 messages) 5 messages, 3 authors, 2012-08-01
STALE5106d

[PATCH BlueZ] gdbus: Fix compilation error if macro "error" is defined

From: Jaganath Kanakkassery <hidden>
Date: 2012-07-27 07:44:13
Subsystem: the rest · Maintainer: Linus Torvalds

The variable "signature" used in error is not defined.
---
 gdbus/object.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/gdbus/object.c b/gdbus/object.c
index 900e7ab..0f05234 100644
--- a/gdbus/object.c
+++ b/gdbus/object.c
@@ -645,8 +645,7 @@ 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("signature does not match");
 		ret = FALSE;
 		goto fail;
 	}
-- 
1.7.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help