projects
/
profile
/
ivi
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6bc8b4
)
connection: Dereference id completely for comparasion.
author
John Kåre Alsaker
<john.kare.alsaker@gmail.com>
Fri, 12 Oct 2012 09:28:28 +0000
(11:28 +0200)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 16 Oct 2012 15:24:31 +0000
(11:24 -0400)
src/connection.c
patch
|
blob
|
history
diff --git
a/src/connection.c
b/src/connection.c
index
c6b9449
..
141875e
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-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);