gnokii-users
[Top][All Lists]
Advanced

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

Re: Nokia 6020 over IrDA on WinXP - Couldn't open PHONET device: No erro


From: Jari Turkia
Subject: Re: Nokia 6020 over IrDA on WinXP - Couldn't open PHONET device: No error
Date: Tue, 10 Apr 2007 23:25:12 +0300
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

Mike wrote:

Thank you so far. But the problem remains:

Ok, you found a bug. Regression testing (which btw. is non-existent in this project) has failed, and something that did work earlier, does not anymore.

Pawel! Here is the patch. A very small problem, just negate the Winsock initialization check.

Regards,
Jari Turkia
diff -aur gnokii/common/devices/winirda.c 
gnokii-0.6.14-CVS20070410/common/devices/winirda.c
--- gnokii/common/devices/winirda.c     2007-01-02 12:45:23.000000000 +0200
+++ gnokii-0.6.14-CVS20070410/common/devices/winirda.c  2007-04-10 
23:12:47.984375000 +0300
@@ -108,7 +108,7 @@
        int x = 1;
 
        /* Initialize */
-       if (WSAStartup(MAKEWORD(2,0), &wsaData) == 0) {
+       if (WSAStartup(MAKEWORD(2,0), &wsaData) != 0) {
                dprintf("WSAStartup() failed.\n");
                fprintf(stderr, _("Failed to initialize socket subsystem: need 
WINSOCK2. Please upgrade.\n"));
                return -1;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]