]> git.mxchange.org Git - flightgear.git/commitdiff
Fix Windows bug: enable/disable FGCom builtin
authorClement de l'Hamaide <clemaez@hotmail.fr>
Mon, 11 Nov 2013 20:39:40 +0000 (21:39 +0100)
committerClement de l'Hamaide <clemaez@hotmail.fr>
Mon, 11 Nov 2013 20:39:40 +0000 (21:39 +0100)
3rdparty/iaxclient/lib/iaxclient_lib.c

index 21c0d1ef7b1fa83de99cad96e671e842af521d83..b9e1b22a77368922f30423a9c79d85fa74155906 100644 (file)
@@ -699,7 +699,7 @@ EXPORT void iaxc_shutdown()
        }
        put_iaxc_lock();
 #ifdef WIN32
-       closesocket(iax_get_fd()); //fd:
+       //closesocket(iax_get_fd()); //fd:
 #endif
 
        free(calls);
@@ -1797,7 +1797,7 @@ static void service_network()
                                        e->etype);
                } else
                {
-                       iaxci_usermsg(IAXC_STATUS,
+                       iaxci_usermsg(IAXC_ERROR,
                                        "Event (type %d) for a non-existant session. Dropping",
                                        e->etype);
                }