]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
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 e5c7015f0ca639cd7c670c642d872d414502a954..2ce6a132c145ca485d69a9da8f05a2b9d7ae13a6 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 843dc852d71fdadacfb8911ad63cfc4350101f3c..c5858c807155edf82ede94d42a7ec2768bf6e91b 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);