On Fri, Dec 02, 2005 at 04:20:27PM +0100, Ladislav Michnovi? wrote: > Can you post this patch, please, if it is only one line. I don't want > to download a whole CVS version and look for it. Maybe I'm not the > only one.
It's on Licq-CVS... Jon Index: icqpacket.cpp =================================================================== RCS file: /cvsroot/licq/licq/src/icqpacket.cpp,v retrieving revision 1.124 retrieving revision 1.125 diff -u -d -r1.124 -r1.125 --- icqpacket.cpp 7 Oct 2005 16:34:01 -0000 1.124 +++ icqpacket.cpp 2 Dec 2005 15:00:02 -0000 1.125 @@ -4827,7 +4827,8 @@ m_nSize -= strlen(m_szMessage); free(m_szMessage); m_szMessage = strdup(ok ? "1" : ""); - m_nSize += strlen(m_szMessage); + m_nMsgLen = strlen(m_szMessage) + 1; + m_nSize += m_nMsgLen; InitBuffer(); PostBuffer();
pgpyntUgNvLS3.pgp
Description: PGP signature