Re: Kannel patch

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Centrium GmbH
Message-ID <[email protected]>
Hi,

first of all: please don't send any patches to me offlist!
you _must_ always cc'ing [email protected].

second: make your patches so that these can be applied with 'patch -p0' or 
'patch -p1' (cd gateway ; cvs diff -Nau path_to_file)

but anyway, thanks a lot for patch!
commited to cvs...

On Wednesday 10 March 2004 12:21, Mindaugas Riauba wrote:
>   Please apply the following patch. sm has to be tested
> against NULL before sm->cookies.
>
>   Thanks,
>
>   Mindaugas
>
> --- cookies.c.orig      Wed Mar 10 12:46:10 2004
> +++ cookies.c   Wed Mar 10 12:46:29 2004
> @@ -164,14 +164,14 @@
>         Octstr *cookie = NULL;
>         long pos = 0;
>
> -       if (sm->cookies == NULL)
> -               sm->cookies = list_create();
> -
>         if (headers == NULL || sm == NULL) {
>                 error (0, "set_cookies: Null argument(s) - no headers,
> WSPMachine or both");
>                 return -1;
>         }
>
> +       if (sm->cookies == NULL)
> +               sm->cookies = list_create();
> +
>         /* Expire cookies that have timed out */
>         expire_cookies(sm->cookies);

-- 
Best regards / Mit besten Grüßen aus Düsseldorf

Dipl.-Ing.
Alexander Malysh
___________________________________________

Centrium GmbH
Vogelsanger Weg 80
40470 Düsseldorf

Fon: +49 (0211) 74 84 51 80
Fax: +49 (0211) 277 49 109

email: [email protected]
web: www.centrium.de
msn: [email protected]
icq: 98063111
___________________________________________

Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.