diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-07-22 17:54:52 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-07-22 17:54:52 +0000 |
commit | 44775ea68f894c3e236cdc397d6b0856c5882143 (patch) | |
tree | 32088426164d4aec937c4ce82f0725e600c4ba66 /plugins/MetaContacts | |
parent | 01de930753fd7a5d47c0350a4361949d770b93cf (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/MetaContacts')
-rwxr-xr-x | plugins/MetaContacts/src/meta_services.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MetaContacts/src/meta_services.cpp b/plugins/MetaContacts/src/meta_services.cpp index 79f40b5ca2..55562a2f84 100755 --- a/plugins/MetaContacts/src/meta_services.cpp +++ b/plugins/MetaContacts/src/meta_services.cpp @@ -1087,7 +1087,7 @@ int Meta_ModulesLoaded(WPARAM wParam, LPARAM lParam) for (int i = 0; i < numberOfProtocols ; i++)
if ( strcmp(ppProtocolDescriptors[i]->szModuleName, META_PROTO)) {
char str[MAXMODULELABELLENGTH + 10];
- sprintf(str,"%s/Nudge",ppProtocolDescriptors[i]->szModuleName);
+ mir_snprintf(str, SIZEOF(str), "%s/Nudge", ppProtocolDescriptors[i]->szModuleName);
HookEvent(str, NudgeRecieved);
}
|