summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 f2b8145e52b..1b18d9f54e7 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");