smsutil: Don't overflow signed ints
authorDenis Kenzior <denkenz@gmail.com>
Tue, 1 Jun 2010 15:07:18 +0000 (10:07 -0500)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 1 Jun 2010 15:07:18 +0000 (10:07 -0500)
commit4638d3ad831f7bf11fcd5a0f951d9c4eae475257
tree053b6cb32a3b91cbe773664a16f780f868f95dab
parent103961c71b0bc74456fa149d5d6761cd3d97b6d4
smsutil: Don't overflow signed ints

We were overflowing the datatype which was causing the 31st segments to
be prepended at position 0.  This resulted in (very) long messages being
improperly concatenated
src/smsutil.c