I believe that this is what is meant:

Index: development/lyxserver/server_monitor.c
===================================================================
RCS file: 
/usr/local/lyx/cvsroot/lyx-devel/development/lyxserver/server_monitor.c,v
retrieving revision 1.2
diff -u -p -r1.2 server_monitor.c
--- development/lyxserver/server_monitor.c      16 Feb 2001 09:25:38 -0000    
 1.2
+++ development/lyxserver/server_monitor.c      16 Aug 2002 19:36:15 -0000
@@ -128,7 +128,7 @@ void io_cb(int fd, void *data)
     if (n>=0)
       s[n] = 0;
     fprintf(stderr, "monitor: Coming: %s\n", s);
-    if (compare(s, "LYXSRV:", 7) == 0) {
+    if (strncmp(s, "LYXSRV:", 7) == 0) {
        if (strstr(s, "bye")) {
            lyx_listen = 0;
            fprintf(stderr, "monitor: LyX has closed connection!\n");


Reply via email to