From: Vinson Lee Date: Fri, 20 Nov 2009 23:03:16 +0000 (-0800) Subject: progs/xdemos: Add assert in corender.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66a4ec14c38d407256545e0cf31c98974d621fe4;p=mesa.git progs/xdemos: Add assert in corender.c. --- 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");