[Commit] rrserver dispatch.5c,1.2,1.3

Keith Packard commit@keithp.com
Thu, 29 May 2003 01:28:47 -0700


Committed by: keithp

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

Modified Files:
	dispatch.5c 
Log Message:
Reply before notice in message

Index: dispatch.5c
===================================================================
RCS file: /local/src/CVS/rrserver/dispatch.5c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- dispatch.5c	29 May 2003 08:15:44 -0000	1.2
+++ dispatch.5c	29 May 2003 08:28:45 -0000	1.3
@@ -185,11 +185,11 @@
 	    }
 
 	    void	message (string text) {
+		File::fprintf (f, "MESSAGE\n");
 		Connect::iterate (void func (&Client c) {
 		    File::fprintf (c.f, "NOTICE MESSAGE \"%s\"\n", text);
 		    File::flush (c.f);
 		});
-		File::fprintf (f, "MESSAGE\n");
 	    }
 
 	    void	quit () {