Parent Directory | Revision Log | Patch
revision 63 by torben, Thu Jun 12 12:43:29 2008 UTC | revision 65 by torben, Thu Jun 12 13:32:17 2008 UTC | |
---|---|---|
# | Line 116 vector<PduInfo> CreateSmsPdu(string to, | Line 116 vector<PduInfo> CreateSmsPdu(string to, |
116 | ||
117 | if (multipart) | if (multipart) |
118 | { | { |
119 | if (message.length() > 800) | |
120 | { | |
121 | Common::instance()->logMessage("Trying to send multipart sms > 800 bytes !!!"); | |
122 | message = message.substr(0,800); | |
123 | } | |
124 | ||
125 | part_count = message.length() / PDU_LEN; | part_count = message.length() / PDU_LEN; |
126 | if (message.length() % PDU_LEN) | if (message.length() % PDU_LEN) |
127 | part_count++; | part_count++; |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |