Re: [PATCH] add hex en/decoding functions
Wilfried Goesgens <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Apr 19, 2006 at 12:53:35PM +0200, Alexander Malysh wrote:
> Hi,
>
> beside indentation, coding style and comments like bullshit...
> what is wrong with:
>
> octstr_long_to_hex(...) -> octstr_format("%diouxX", long)
> octstr_hex_to_long(...) -> strtol(octstr_get_cstr(...),NULL, 16)
>
this looks way to simple ;-) i'll check that back. thanks for the hint.
Wilfried Goesgens