summaryrefslogtreecommitdiff
path: root/protocols/JabberG/jabber_groupchat.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-09 12:59:57 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-09 12:59:57 +0000
commit0f65e9f5bc3c6a543ff66ac92f954f812fcae125 (patch)
tree997c63de0a32539fb167304eac5c22756928fa72 /protocols/JabberG/jabber_groupchat.cpp
parent17dde71ed34a15d583e0634bac1f4bc2f67a5af5 (diff)
Jabber chats' history filter fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@371 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/jabber_groupchat.cpp')
-rw-r--r--protocols/JabberG/jabber_groupchat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/jabber_groupchat.cpp b/protocols/JabberG/jabber_groupchat.cpp
index 8e11f030cf..4f6dde53df 100644
--- a/protocols/JabberG/jabber_groupchat.cpp
+++ b/protocols/JabberG/jabber_groupchat.cpp
@@ -328,7 +328,7 @@ void CJabberProto::GroupchatJoinRoom( const TCHAR* server, const TCHAR* room, co
_tzset();
lasteventtime += _timezone + 1;
struct tm* time = localtime(&lasteventtime);
- TCHAR lasteventdate[20];
+ TCHAR lasteventdate[40];
mir_sntprintf(lasteventdate, SIZEOF(lasteventdate), _T("%04d-%02d-%02dT%02d:%02d:%02dZ"),
time->tm_year+1900, time->tm_mon+1, time->tm_mday, time->tm_hour, time->tm_min, time->tm_sec);
x << XCHILD( _T("history") ) << XATTR( _T("since"), lasteventdate);