diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2011-06-06 14:51:02 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-09 22:37:41 +0000 |
commit | 3eb92605f13ad489c5f8bbccf4463f6951f3c03c (patch) | |
tree | 6035851d43b0e73655cfe21fa45807c7ec69613c /src/client | |
parent | bdaff032dd15ebe90236c4c23baf9dcf294496cd (diff) |
Fix newlines in Com_Error, patch by Zack Middleton (#5023)
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/cl_curl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/cl_curl.c b/src/client/cl_curl.c index 3a59f19e..63958e38 100644 --- a/src/client/cl_curl.c +++ b/src/client/cl_curl.c @@ -252,13 +252,13 @@ void CL_cURL_BeginDownload( const char *localName, const char *remoteURL ) clc.downloadCURL = qcurl_easy_init(); if(!clc.downloadCURL) { Com_Error(ERR_DROP, "CL_cURL_BeginDownload: qcurl_easy_init() " - "failed\n"); + "failed"); return; } clc.download = FS_SV_FOpenFileWrite(clc.downloadTempName); if(!clc.download) { Com_Error(ERR_DROP, "CL_cURL_BeginDownload: failed to open " - "%s for writing\n", clc.downloadTempName); + "%s for writing", clc.downloadTempName); return; } qcurl_easy_setopt(clc.downloadCURL, CURLOPT_WRITEDATA, clc.download); @@ -285,7 +285,7 @@ void CL_cURL_BeginDownload( const char *localName, const char *remoteURL ) qcurl_easy_cleanup(clc.downloadCURL); clc.downloadCURL = NULL; Com_Error(ERR_DROP, "CL_cURL_BeginDownload: qcurl_multi_init() " - "failed\n"); + "failed"); return; } qcurl_multi_add_handle(clc.downloadCURLM, clc.downloadCURL); |