aboutsummaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-11-20 15:03:16 -0800
committerVinson Lee <[email protected]>2009-11-20 15:03:16 -0800
commit66a4ec14c38d407256545e0cf31c98974d621fe4 (patch)
tree7a56279451d8bf52ffbd6bc95273eb5cb7b17ec4 /progs
parentf6541773c4661247879995637207dcc5803bbf00 (diff)
progs/xdemos: Add assert in corender.c.
Diffstat (limited to 'progs')
-rw-r--r--progs/xdemos/corender.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/xdemos/corender.c b/progs/xdemos/corender.c
index ca8ee1eed33..8c705354829 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");