gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with gnokii 0.6.31git, smsd segmentation fault


From: Pawel Kot
Subject: Re: Problem with gnokii 0.6.31git, smsd segmentation fault
Date: Tue, 7 Jun 2011 12:49:59 +0200

Hi,

On Tue, Jun 7, 2011 at 09:50, Jan Derfinak <address@hidden> wrote:
> On Mon, 6 Jun 2011, Daniele Forsi wrote:
>
>> 2011/6/6 Jan Derfinak:
>>
>> > I think that it is not good that gnokii lib modifies gn_sms structure.
>>
>> the problem is how to return a reference number for each part that has
>> been sent because the code that calls gn_sms_send() doesn't know how
>> many parts will be needed
>
> So it is only for returning reference number?

I thought so, but it's not. I'm rewriting the text of the user_data
(as stated in previous message). But I'll fix that for the next
release.

> What you think about such change:
> GNOKII_API gn_error gn_sms_send(gn_data *data, struct gn_statemachine
> *state, unsigned int **reference)
> ...

Quite frankly it does not look nice to me. Why is it disturbing to
have it? If you are afraid of proper deallocation, let's introduce
gn_sms_free().

take care,
-- 
Pawel Kot



reply via email to

[Prev in Thread] Current Thread [Next in Thread]