projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69ed114
)
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, 4 Dec 2009 07:22:47 +0000
(23:22 -0800)
(cherry picked from commit
66a4ec14c38d407256545e0cf31c98974d621fe4
)
progs/xdemos/corender.c
patch
|
blob
|
history
diff --git
a/progs/xdemos/corender.c
b/progs/xdemos/corender.c
index f2b8145e52b4ac297e32d1f41bf9d50ed8f282bc..1b18d9f54e7bfea4ae875f289b0b7aeab235aee9 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");