FreeCalypso > hg > freecalypso-tools
diff uptools/libcoding/ucs2_decode.c @ 804:30fbaa652ea5
pcm-sms-decode & sms-pdu-decode: rm remains of bad chars count
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 25 Mar 2021 03:26:23 +0000 |
parents | 1c599681fd60 |
children |
line wrap: on
line diff
--- a/uptools/libcoding/ucs2_decode.c Thu Mar 25 03:06:53 2021 +0000 +++ b/uptools/libcoding/ucs2_decode.c Thu Mar 25 03:26:23 2021 +0000 @@ -8,9 +8,9 @@ #include <sys/types.h> #include <stdio.h> -ucs2_to_ascii_or_ext(inbuf, inlen, outbuf, outlenp, ascii_ext, newline_ok, errp) +ucs2_to_ascii_or_ext(inbuf, inlen, outbuf, outlenp, ascii_ext, newline_ok) u_char *inbuf, *outbuf; - unsigned inlen, *outlenp, *errp; + unsigned inlen, *outlenp; { u_char *inp, *endp, *outp; unsigned uni; @@ -59,6 +59,4 @@ *outp = '\0'; if (outlenp) *outlenp = outp - outbuf; - if (errp) - *errp = 0; }