[Commit] grrobot/src grrobot.c,1.9,1.10

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


Committed by: keithp

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

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

Index: grrobot.c
===================================================================
RCS file: /local/src/CVS/grrobot/src/grrobot.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- grrobot.c	26 Jun 2003 01:19:40 -0000	1.9
+++ grrobot.c	26 Jun 2003 11:17:33 -0000	1.10
@@ -190,8 +190,11 @@
 	if (status) {
 	    fprintf (stderr, "Error during rr_client_next_notice: %s\n",
 		     rr_status_str (status));
-	    gtk_exit (1);
-	    return;
+	    exit (1);
+	}
+	if (!notice) {
+	    fprintf (stderr, "Missing notice\n");
+	    continue;
 	}
 
 	switch (notice->type) {




More information about the Commit mailing list