diff -r c7703c653865 -r d3e285281c26 QTfrontend/proto.cpp --- a/QTfrontend/proto.cpp Wed Oct 15 16:54:05 2008 +0000 +++ b/QTfrontend/proto.cpp Wed Oct 15 16:59:11 2008 +0000 @@ -26,6 +26,7 @@ QByteArray & HWProto::addStringToBuffer(QByteArray & buf, const QString & string) { QByteArray strmsg = string.toUtf8(); + strmsg.left(250); quint8 sz = strmsg.size(); buf.append(QByteArray((char *)&sz, 1)); buf.append(strmsg);