From 8feb0ae1cbd0d9b548fbd1ffbc8bb68801473569 Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 2 Nov 2011 05:42:40 +0000 Subject: [PATCH] fix some typos git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11516 d7cf8633-e32d-0410-b094-e92efae38249 --- fs.c | 2 +- netconn.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs.c b/fs.c index e5c7015f..2ce6a132 100644 --- 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 diff --git a/netconn.c b/netconn.c index 843dc852..c5858c80 100755 --- 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); -- 2.39.2