Re: Communications problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 26 Nov 2001 10:15:13 +0000, "T REX" <the1trex@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


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux