summaryrefslogtreecommitdiff
path: root/src/client/cl_curl.c
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2013-04-24 14:11:18 -0500
committerTim Angus <tim@ngus.net>2013-05-03 16:11:37 +0100
commit25b80077d4c81af8ac922150598f82bddde808cb (patch)
treea0162af401d09effcd0ad2cd3406b6bd401b9a3b /src/client/cl_curl.c
parent9d3c009673517a8edf82bf0e1f63eca4eadb4a28 (diff)
Don't allow modifying qvms or pk3s
Exception for allowing pk3s to be downloaded.
Diffstat (limited to 'src/client/cl_curl.c')
-rw-r--r--src/client/cl_curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/cl_curl.c b/src/client/cl_curl.c
index ffc35557..8d083877 100644
--- a/src/client/cl_curl.c
+++ b/src/client/cl_curl.c
@@ -305,7 +305,7 @@ void CL_cURL_PerformDownload(void)
}
FS_FCloseFile(clc.download);
if(msg->msg == CURLMSG_DONE && msg->data.result == CURLE_OK) {
- FS_SV_Rename(clc.downloadTempName, clc.downloadName);
+ FS_SV_Rename(clc.downloadTempName, clc.downloadName, qfalse);
clc.downloadRestart = qtrue;
}
else {