Re: smpp dlr problem
Andreas Fink <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
atol would not work if the string is in HEX.
On Mittwoch, Mai 7, 2003, at 11:08 Uhr, Andrea Viscovich wrote:
>> if (smpp->smpp_msg_id_type == 1) {
>> char buf[64];
>> sprintf(buf,"%Lx", atoll(octstr_get_cstr(msgid)));
>> tmp = octstr_format("%s", buf);
>
> I'm very sorry but I have to ask you how to use atoll function.
> Infact I have compilation error on that, and I think
> is because I'm compiling it under cygwin and atoll is not avalaible.
> Have you any hint on how to do?
> Thanks
> Andrea
>
>
>
Andreas Fink
Global Networks Switzerland AG
------------------------------------------------------------------
Tel: +41-61-6666333 Fax: +41-61-6666334 Mobile: +41-79-2457333
Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/ [email protected]
------------------------------------------------------------------