projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f654177
)
progs/xdemos: Add assert in corender.c.
author
Vinson Lee
<vlee@vmware.com>
Fri, 20 Nov 2009 23:03:16 +0000
(15:03 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 20 Nov 2009 23:03:16 +0000
(15:03 -0800)
progs/xdemos/corender.c
patch
|
blob
|
history
diff --git
a/progs/xdemos/corender.c
b/progs/xdemos/corender.c
index ca8ee1eed337e00dbf69fa029c14dd5278b06d43..8c7053548292cb5f6f5275ec2c5db7e33034ecb4 100644
(file)
--- a/
progs/xdemos/corender.c
+++ b/
progs/xdemos/corender.c
@@
-55,6
+55,7
@@
setup_ipc(void)
printf("Waiting for connection from another 'corender'\n");
Sock = AcceptConnection(k);
+ assert(Sock != -1);
printf("Got connection, sending windowID\n");