[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: smsd and long messages
From: |
Pawel Kot |
Subject: |
Re: smsd and long messages |
Date: |
Fri, 21 Aug 2009 09:53:19 +0200 |
Hi,
On Fri, Aug 21, 2009 at 09:35, Hartmut Benz<address@hidden> wrote:
> Thanks for the reply. What's not working is that the message is cut at
> 160th char and the reset does not arrive at the recipient. No error
> messages I could detect. I attach three traces.
I looked into the sources. Have a look at smsd/pq.c
There's a line:
strncpy ((gchar *) sms.user_data[0].u.text, PQgetvalue (res1, i, 2),
GN_SMS_MAX_LENGTH + 1);
Change there GN_SMS_MAX_LENGTH with GN_SMS_LONG_MAX_LENGTH. That should make it.
> model = 3110
This one is not correct. Make it series40.
take care,
--
Pawel Kot