diff options
author | Jaganath Kanakkassery <jaganath.k@samsung.com> | 2012-08-16 18:21:19 +0530 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-08-27 17:27:48 -0700 |
commit | d40a1df675ff776b869c6e222d10219f5ebbe01d (patch) | |
tree | 432a1efad7db02fb66fd11876fbc6a2ef83b6ede /gdbus | |
parent | 2c8c6393590247d4a50c560dcbd706c8bcbd7a95 (diff) | |
download | connman-d40a1df675ff776b869c6e222d10219f5ebbe01d.tar.gz connman-d40a1df675ff776b869c6e222d10219f5ebbe01d.tar.bz2 connman-d40a1df675ff776b869c6e222d10219f5ebbe01d.zip |
gdbus: Fix compilation error if macro "error" is defined
The variable "signature" used in error is not defined and "args" is now
a struct instead of a string.
Diffstat (limited to 'gdbus')
-rw-r--r-- | gdbus/object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbus/object.c b/gdbus/object.c index 900e7aba..96890064 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; } |