mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-04 07:15:53 -04:00
Print more info when demarshal fails
This commit is contained in:
parent
379b678c57
commit
c098d8da47
1 changed files with 2 additions and 1 deletions
|
|
@ -344,7 +344,8 @@ wl_connection_demarshal(struct wl_connection *connection,
|
||||||
types[i] = &ffi_type_pointer;
|
types[i] = &ffi_type_pointer;
|
||||||
object = wl_hash_table_lookup(objects, *p);
|
object = wl_hash_table_lookup(objects, *p);
|
||||||
if (object == NULL && *p != 0)
|
if (object == NULL && *p != 0)
|
||||||
printf("unknown object (%d)\n", *p);
|
printf("unknown object (%d), message %s(%s)\n",
|
||||||
|
*p, message->name, message->signature);
|
||||||
values[i].object = object;
|
values[i].object = object;
|
||||||
p++;
|
p++;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue