Mesa (mesa_7_6_branch): progs/xdemos: Add assert in corender.c.

Vinson Lee vlee at kemper.freedesktop.org
Thu Dec 3 23:23:04 PST 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: 68d206fafa4398826cb26da1c66f1bbc4dc66f0c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=68d206fafa4398826cb26da1c66f1bbc4dc66f0c

Author: Vinson Lee <vlee at vmware.com>
Date:   Fri Nov 20 15:03:16 2009 -0800

progs/xdemos: Add assert in corender.c.
(cherry picked from commit 66a4ec14c38d407256545e0cf31c98974d621fe4)

---

 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 f2b8145..1b18d9f 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");
 



More information about the mesa-commit mailing list