Re: [PATCH] Naive approach to HTTP-timeouts

"David Schmitz" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi Slava,

>
> And about David's patch:
> in function pointer_to_octstr()
>
> +    char *tmp = (char *) gw_malloc(sizeof(char) * 255);
> +    sprintf(tmp, "%ld", p);
> +    tmp_oct = octstr_create(tmp);
> +    gw_free(tmp);
>
> can be changed to use octstr_format()

oops, talk about reinventing the wheel!
Thank you,
David

-- 

Mit freundlichen Gruessen/Best regards

David Schmitz
Softwareentwicklung

-----------------------------------------------------------------
Wapme Systems AG
Vogelsanger Weg 80
40470 Düsseldorf

Tel.:  + 49 -211-7 48 45 - 2708
Fax:  + 49 -211-80-6-06-2801

E-Mail:   [email protected]
Internet: http://www.wapme-systems.de
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.