fix some typos
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 2 Nov 2011 05:42:40 +0000 (05:42 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 2 Nov 2011 05:42:40 +0000 (05:42 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11516 d7cf8633-e32d-0410-b094-e92efae38249

fs.c
netconn.c

diff --git a/fs.c b/fs.c
index e5c7015..2ce6a13 100644 (file)
--- a/fs.c
+++ b/fs.c
@@ -1883,7 +1883,7 @@ static int FS_ChooseUserDir(userdirmode_t userdirmode, char *userdir, size_t use
        // see if we can write to this path (note: won't create path)
 #ifdef WIN32
        // no access() here, we must try to open the file for appending
-       fd = Sys_OpenFD(va(vabuf, sizeof(vabuf), "%s%s/config.cfg", userdir, gamedirname1), "a", false);
+       fd = FS_SysOpenFD(va(vabuf, sizeof(vabuf), "%s%s/config.cfg", userdir, gamedirname1), "a", false);
        if(fd >= 0)
                close(fd);
 #else
index 843dc85..c5858c8 100755 (executable)
--- a/netconn.c
+++ b/netconn.c
@@ -995,7 +995,7 @@ void NetConn_OpenServerPorts(int opennetports)
 
        SV_LockThreadMutex(); // FIXME recursive?
        Crypto_LoadKeys(); // server sockets
-       CSV_UnlockThreadMutex();
+       SV_UnlockThreadMutex();
 
        NetConn_UpdateSockets();
        port = bound(0, sv_netport.integer, 65535);