Re: Bug in wtp_pack_sar_ack

Bruno Rodrigues <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <1039774966.12523.1.camel@localhost>
On Sex, 2002-12-13 at 09:45, Aarno Syvänen wrote:
> Hi List,
> 
> in wtp_pack_sar_ack  we have following:
> 
> unsigned char cpsn;
> sprintf(&cpsn, "%c", psn);

Isn't this like putting an char (%c) inside a char (cpsn) with the psn
value ?

like &cpsn = (char) psn; ?



-- 
Bruno Rodrigues <[email protected]>
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA9+bT2bMTNtJey1hkRAowuAJ9tsoB7+RX5x5A1bSTsCqX/pC6P7wCfWOWj
H0EUqvpnWsYP2B1pGRzko9U=
=Qrky
-----END PGP SIGNATURE-----
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.