Communications problem

gerard patel g.patel at wanadoo.fr.invalid
Mon Nov 26 05:39:47 CST 2001


On Mon, 26 Nov 2001 10:15:13 +0000, "T REX" <the1trex at hotmail.com>
wrote:

>Sadly It did not work. It does look like the error might be in the device 
>control string, but it migth lie somwhere else. I dont know where though, 
>but i have tested a lot of different control strings.

I missed something.

Gerard

--- comm.c.orig Mon Nov 12 15:49:08 2001
+++ comm.c      Mon Nov 26 11:37:18 2001
@@ -105,7 +105,7 @@
        if (!*(device+4))
                return FALSE;
 
-       if (*(device+4) != ':')
+       if ((*(device+4) != ':') && (*(device+4) != ' '))
                return FALSE;
 
        strcpy(temp,device+5);
@@ -260,7 +260,7 @@
                        ERR("BUG! COM0 can't exist!\n");
                        return FALSE;
                }
-               if (*(device+4)!=':')
+               if ((*(device+4)!=':') && (*(device+4)!=' '))
                        return FALSE;
                temp=(LPSTR)(device+5);
        } else



More information about the wine-users mailing list