mirror of git://git.sysmocom.de/ofono
gdbus: return if method signature is malformed
This commit is contained in:
parent
25268b4270
commit
a77fcca3c6
|
@ -107,6 +107,10 @@ static void print_arguments(GString *gstr, const char *sig,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!complete) {
|
||||||
|
error("Unexpected signature: %s", sig);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (direction)
|
if (direction)
|
||||||
g_string_append_printf(gstr,
|
g_string_append_printf(gstr,
|
||||||
|
|
Loading…
Reference in New Issue