[Commit] rrsolve/src rrsolve.c,1.4,1.5

Keith Packard commit at keithp.com
Thu Jun 26 05:17:51 PDT 2003


Committed by: keithp

Update of /local/src/CVS/rrsolve/src
In directory home.keithp.com:/tmp/cvs-serv8187

Modified Files:
	rrsolve.c 
Log Message:
Permit rr_client_next_notice to return null notice

Index: rrsolve.c
===================================================================
RCS file: /local/src/CVS/rrsolve/src/rrsolve.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- rrsolve.c	26 Jun 2003 02:37:56 -0000	1.4
+++ rrsolve.c	26 Jun 2003 11:17:49 -0000	1.5
@@ -184,6 +184,10 @@
 		     rr_status_str (status));
 	    return;
 	}
+	if (!notice) {
+	    fprintf (stderr, "No notice during rr_client_next_notice\n");
+	    continue;
+	}
 
 	switch  (notice->type) {
 	case RR_NOTICE_GAMEOVER:




More information about the Commit mailing list