mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Oops, update4
This commit is contained in:
parent
5785267a39
commit
bf6c91a25c
|
@ -67,7 +67,7 @@ void CUpdater::CompletionCallback(CFetchTask *pTask, void *pUser)
|
||||||
void CUpdater::FetchFile(const char *pFile, const char *pDestPath)
|
void CUpdater::FetchFile(const char *pFile, const char *pDestPath)
|
||||||
{
|
{
|
||||||
char aBuf[256], aPath[256];
|
char aBuf[256], aPath[256];
|
||||||
str_format(aBuf, sizeof(aBuf), "https://%s/%s", g_Config.m_ClDDNetUpdate3Server, pFile);
|
str_format(aBuf, sizeof(aBuf), "https://%s/%s", g_Config.m_ClDDNetUpdate4Server, pFile);
|
||||||
if(!pDestPath)
|
if(!pDestPath)
|
||||||
pDestPath = pFile;
|
pDestPath = pFile;
|
||||||
str_format(aPath, sizeof(aPath), "update/%s", pDestPath);
|
str_format(aPath, sizeof(aPath), "update/%s", pDestPath);
|
||||||
|
|
Loading…
Reference in a new issue