gnokii-users
[Top][All Lists]
Advanced

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

Re: gnokii-users Digest, Vol 100, Issue 10


From: Pawel Kot
Subject: Re: gnokii-users Digest, Vol 100, Issue 10
Date: Mon, 21 Mar 2011 08:47:13 +0100

Hi,

On Sun, Mar 20, 2011 at 12:07, we axzz <address@hidden> wrote:
> yes it now work properly, and using memset() will help so ,

As I told you, you should not use memset() but
gn_sms_submit_default(). When you do memset() you need to initialize
several fields manually.

> regarding to these issue, i just wondering why memory in stack frame pointer
> need to be cleared ( i mean, where the rubbish inside un-initialized
> variable came from ? ), if you mind to spend more time to my issue, it'd
> great ;)

Because we assume that if you put something into gn_sms structure is
it on purpose. I think it is quite obvious, isn't it?

-- 
Pawel Kot



reply via email to

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