summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/iniupdater.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/iniupdater.cpp')
-rw-r--r--protocols/Xfire/src/iniupdater.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Xfire/src/iniupdater.cpp b/protocols/Xfire/src/iniupdater.cpp
index cc835332a4..dd82e010e8 100644
--- a/protocols/Xfire/src/iniupdater.cpp
+++ b/protocols/Xfire/src/iniupdater.cpp
@@ -61,7 +61,7 @@ void UpdateMyXFireIni(LPVOID dummy) {
strcat(file2,"xfire_games.ini");
strcat(file3,"xfire_games.old");
- sprintf_s(request,1024,"%s%d",INI_URLREQUEST,getfilesize(file2));
+ mir_snprintf(request,1024,"%s%d",INI_URLREQUEST,getfilesize(file2));
if(CheckWWWContent(request))
{
@@ -101,7 +101,7 @@ void UpdateMyIcons(LPVOID dummy) {
strcat(file2,"icons.dll");
strcat(file3,"icons.old");
- sprintf_s(request,1024,"%s%d",ICO_URLREQUEST,getfilesize(file2));
+ mir_snprintf(request,1024,"%s%d",ICO_URLREQUEST,getfilesize(file2));
if(CheckWWWContent(request))
{