// 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
SV_LockThreadMutex(); // FIXME recursive?
Crypto_LoadKeys(); // server sockets
- CSV_UnlockThreadMutex();
+ SV_UnlockThreadMutex();
NetConn_UpdateSockets();
port = bound(0, sv_netport.integer, 65535);