diff options
author | George Hazan <george.hazan@gmail.com> | 2014-09-22 14:57:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-09-22 14:57:06 +0000 |
commit | 97c3f6fe20b6474159beb924c6707bef481faa14 (patch) | |
tree | 874a46db938a12b54b88e04f6324e6fece8bb3de /protocols/JabberG/src/jabber_caps.cpp | |
parent | fc3a4607ee5cfe9e7cfed8d63e2cb1d549f61d92 (diff) |
correct last _tcsncpy_s parameter's value
git-svn-id: http://svn.miranda-ng.org/main/trunk@10558 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_caps.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_caps.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_caps.cpp b/protocols/JabberG/src/jabber_caps.cpp index ce817df46c..22eba675e1 100644 --- a/protocols/JabberG/src/jabber_caps.cpp +++ b/protocols/JabberG/src/jabber_caps.cpp @@ -216,7 +216,7 @@ JabberCapsBits CJabberProto::GetResourceCapabilites(const TCHAR *jid, BOOL appen if (appendBestResource)
GetClientJID(jid, fullJid, SIZEOF(fullJid));
else
- _tcsncpy_s(fullJid, jid, SIZEOF(fullJid));
+ _tcsncpy_s(fullJid, jid, _TRUNCATE);
pResourceStatus r(ResourceInfoFromJID(fullJid));
if (r == NULL)
|