diff options
Diffstat (limited to 'protocols/Tlen/src/tlen_thread.cpp')
| -rw-r--r-- | protocols/Tlen/src/tlen_thread.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tlen/src/tlen_thread.cpp b/protocols/Tlen/src/tlen_thread.cpp index c243fa11ec..9f714bbdb6 100644 --- a/protocols/Tlen/src/tlen_thread.cpp +++ b/protocols/Tlen/src/tlen_thread.cpp @@ -1190,7 +1190,7 @@ static void TlenProcessV(XmlNode *node, ThreadData *info)  		if (strchr(from, '@') == NULL) {
  			mir_snprintf(jid, SIZEOF(jid), "%s@%s", from, info->server);
  		} else {
 -			mir_snprintf(jid, SIZEOF(jid), "%s", from);
 +			strncpy_s(jid, from, _TRUNCATE);
  		}
  		if ((e=TlenXmlGetAttrValue(node, "e")) != NULL) {
  			if (!strcmp(e, "1")) {
  | 
