--- smsdaemon/SmsPdu.cpp 2008/06/12 12:43:29 63 +++ smsdaemon/SmsPdu.cpp 2008/06/12 13:32:17 65 @@ -116,6 +116,12 @@ if (multipart) { + if (message.length() > 800) + { + Common::instance()->logMessage("Trying to send multipart sms > 800 bytes !!!"); + message = message.substr(0,800); + } + part_count = message.length() / PDU_LEN; if (message.length() % PDU_LEN) part_count++;