summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/svcs_rsa.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-07-22 17:54:52 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-07-22 17:54:52 +0000
commit44775ea68f894c3e236cdc397d6b0856c5882143 (patch)
tree32088426164d4aec937c4ce82f0725e600c4ba66 /plugins/SecureIM/src/svcs_rsa.cpp
parent01de930753fd7a5d47c0350a4361949d770b93cf (diff)
replace sprintf to mir_snprintf (part 2)
git-svn-id: http://svn.miranda-ng.org/main/trunk@5447 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM/src/svcs_rsa.cpp')
-rw-r--r--plugins/SecureIM/src/svcs_rsa.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SecureIM/src/svcs_rsa.cpp b/plugins/SecureIM/src/svcs_rsa.cpp
index 1ef0ecbbb0..22035d17bc 100644
--- a/plugins/SecureIM/src/svcs_rsa.cpp
+++ b/plugins/SecureIM/src/svcs_rsa.cpp
@@ -118,11 +118,11 @@ void __cdecl rsa_notify(HANDLE context, int state)
case -0x60:
{
char buf[1024];
- sprintf(buf,sim510,-state);
- showPopupDCmsg(ptr->hContact,buf);
+ mir_snprintf(buf, SIZEOF(buf), sim510, -state);
+ showPopupDCmsg(ptr->hContact, buf);
ShowStatusIconNotify(ptr->hContact);
if (ptr->cntx) deleteRSAcntx(ptr);
- waitForExchange(ptr,3); // досылаем нешифровано
+ waitForExchange(ptr, 3); // досылаем нешифровано
}
return;