two deallocations in url_result_thread in smsbox

2003-07-28 Thread Aarno Syvänen
Hi List, I think we have a problem in smsbox: Url_result_thread has octstr_destroy(charset). Charset is copied (without allocation) to msg structure, and deallocated when msg_destroy is called. And another thing: is there are no charset defined with content type, default is, as per rfc 2616,

Re: two deallocations in url_result_thread in smsbox

2003-07-28 Thread Stipe Tolj
Aarno Syvänen wrote: I think we have a problem in smsbox: Url_result_thread has octstr_destroy(charset). Charset is copied (without allocation) to msg structure, and deallocated when msg_destroy is called. so this is resulting in a segfault?! And another thing: is there are no charset

Re: two deallocations in url_result_thread in smsbox

2003-07-28 Thread Aarno Syvänen
On Monday, July 28, 2003, at 11:00 AM, Stipe Tolj wrote: Aarno Syvänen wrote: I think we have a problem in smsbox: Url_result_thread has octstr_destroy(charset). Charset is copied (without allocation) to msg structure, and deallocated when msg_destroy is called. so this is resulting in a

Re: two deallocations in url_result_thread in smsbox

2003-07-28 Thread Stipe Tolj
Yep, got problems with ppg sms level delivery reports. any suggestions?! In just looking at this... Drop into IRC: #kannel (irc.freenode.net) for discussion No, this is a different thing. It is just that if http receives something, and there is no charset specified, it must assume that

Re: two deallocations in url_result_thread in smsbox

2003-07-28 Thread Aarno Syvänen
On Monday, July 28, 2003, at 11:25 AM, Stipe Tolj wrote: Yep, got problems with ppg sms level delivery reports. any suggestions?! In just looking at this... Just remove octstr_destroy ? No deallocation without allocation! Drop into IRC: #kannel (irc.freenode.net) for discussion Third chat

Re: two deallocations in url_result_thread in smsbox

2003-07-28 Thread Stipe Tolj
Aarno Syvänen wrote: Just remove octstr_destroy ? No deallocation without allocation! which one of the two? Third chat program to be installed. Probably worth of it, however. definetly! I can drop you my ICQ too if you like?! http library should return charset value ISO-8859-1, not , when

Re: two deallocations in url_result_thread in smsbox

2003-07-28 Thread Aarno Syvänen
On Monday, July 28, 2003, at 11:44 AM, Stipe Tolj wrote: Aarno Syvänen wrote: Just remove octstr_destroy ? No deallocation without allocation! which one of the two? octstr_destroy(charset). Msg_destroy does some thing implicitly. Third chat program to be installed. Probably worth of it,