projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90c7bdf
)
gdbus: Fix compilation error if macro "error" is defined
author
Jaganath Kanakkassery
<jaganath.k@samsung.com>
Thu, 16 Aug 2012 12:51:19 +0000
(18:21 +0530)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 28 Aug 2012 00:28:42 +0000
(17:28 -0700)
The variable "signature" used in error is not defined and "args" is now
a struct instead of a string.
gdbus/object.c
patch
|
blob
|
history
diff --git
a/gdbus/object.c
b/gdbus/object.c
index
900e7ab
..
9689006
100644
(file)
--- 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;
}