diff options
author | Vinson Lee <vlee@vmware.com> | 2009-11-20 15:03:16 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2009-12-03 23:22:47 -0800 |
commit | 68d206fafa4398826cb26da1c66f1bbc4dc66f0c (patch) | |
tree | 054fc666f5f0870a8e1eb5bbecfc65f57738a1bf /progs/xdemos | |
parent | 69ed1147a8a576fb28ba1dc2b030d903ae094eda (diff) |
progs/xdemos: Add assert in corender.c.
(cherry picked from commit 66a4ec14c38d407256545e0cf31c98974d621fe4)
Diffstat (limited to 'progs/xdemos')
-rw-r--r-- | progs/xdemos/corender.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/xdemos/corender.c b/progs/xdemos/corender.c index f2b8145e52..1b18d9f54e 100644 --- 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"); |