mirror of git://git.sysmocom.de/ofono
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.
This commit is contained in:
parent
90c7bdfc8d
commit
c1cea66a5e
|
@ -645,8 +645,8 @@ static dbus_bool_t emit_signal_valist(DBusConnection *conn,
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
if (g_dbus_args_have_signature(args, signal) == FALSE) {
|
if (g_dbus_args_have_signature(args, signal) == FALSE) {
|
||||||
error("%s.%s: expected signature'%s' but got '%s'",
|
error("%s.%s: got unexpected signature '%s'", interface, name,
|
||||||
interface, name, args, signature);
|
dbus_message_get_signature(signal));
|
||||||
ret = FALSE;
|
ret = FALSE;
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue