mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
connection: Dereference id completely for comparasion.
This commit is contained in:
parent
a6bc8b426c
commit
4b6d0e65e7
1 changed files with 2 additions and 2 deletions
|
|
@ -741,7 +741,7 @@ wl_connection_demarshal(struct wl_connection *connection,
|
|||
closure->args[i] = id;
|
||||
*id = p;
|
||||
|
||||
if (*id == 0 && !arg.nullable) {
|
||||
if (**id == 0 && !arg.nullable) {
|
||||
printf("NULL object received on non-nullable "
|
||||
"type, message %s(%s)\n", message->name,
|
||||
message->signature);
|
||||
|
|
@ -758,7 +758,7 @@ wl_connection_demarshal(struct wl_connection *connection,
|
|||
closure->args[i] = id;
|
||||
*id = p;
|
||||
|
||||
if (*id == 0 && !arg.nullable) {
|
||||
if (**id == 0 && !arg.nullable) {
|
||||
printf("NULL new ID received on non-nullable "
|
||||
"type, message %s(%s)\n", message->name,
|
||||
message->signature);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue