summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/all_statusmsg.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-16 10:57:40 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-16 10:57:40 +0000
commit30ee89a6764a8d38a078374c6ed5de70635b42c0 (patch)
tree464bbd4c8e32200107d42c5f95b13134edf42888 /protocols/Xfire/src/all_statusmsg.cpp
parente3c401f192327347151a70596a6b0b493bc762b1 (diff)
rest or mir_*printf in protocols
git-svn-id: http://svn.miranda-ng.org/main/trunk@5715 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/all_statusmsg.cpp')
-rw-r--r--protocols/Xfire/src/all_statusmsg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Xfire/src/all_statusmsg.cpp b/protocols/Xfire/src/all_statusmsg.cpp
index b033b4e3bb..62661afdf4 100644
--- a/protocols/Xfire/src/all_statusmsg.cpp
+++ b/protocols/Xfire/src/all_statusmsg.cpp
@@ -64,7 +64,7 @@ BOOL BackupStatusMsg() {
XFireLog("Get Status of %s ...",temp[i]->szModuleName);
char ttemp[128]="";
- sprintf_s(ttemp,128,"%s%s",temp[i]->szModuleName,PS_SETAWAYMSG);
+ mir_snprintf(ttemp,128,"%s%s",temp[i]->szModuleName,PS_SETAWAYMSG);
//xfire wird geskipped, offline prots und invs prots auch, und locked status prots auch
if(!temp[i]->bIsEnabled||statusid==ID_STATUS_INVISIBLE||statusid==ID_STATUS_OFFLINE||!lstrcmpiA( temp[i]->szModuleName, protocolname )||!ServiceExists(ttemp)||db_get_b(NULL,temp[i]->szModuleName,"LockMainStatus",0)==1)