[PATCH] sms: Use gsm_7bit_decode_n() in sms_test().
gsm_7bit_decode() is deprecated. Replace it with gsm_7bit_decode_n(). The patch doesn't depend on anything and should be ready for merge into the master. -- Regards, Alexander Chemeris. CEO, Fairwaves, Inc. / ООО УмРадио https://fairwaves.co
On Mon, Mar 10, 2014 at 08:22:00PM +0100, Alexander Chemeris wrote:
gsm_7bit_decode() is deprecated. Replace it with gsm_7bit_decode_n().
/* Test legacy function (return value only) */ if (!test_decode[i].ud_hdr_ind) { - nchars = gsm_7bit_decode(result, test_decode[i].input, printf("Legacy decode case %d: "
This test, tests the semantic of the old function. The only way this is going to be removed is by removing the legacy function. :)
On Tue, Mar 11, 2014 at 11:21 AM, Holger Hans Peter Freyther <holger@freyther.de> wrote:
On Mon, Mar 10, 2014 at 08:22:00PM +0100, Alexander Chemeris wrote:
gsm_7bit_decode() is deprecated. Replace it with gsm_7bit_decode_n().
/* Test legacy function (return value only) */ if (!test_decode[i].ud_hdr_ind) { - nchars = gsm_7bit_decode(result, test_decode[i].input, printf("Legacy decode case %d: "
This test, tests the semantic of the old function. The only way this is going to be removed is by removing the legacy function. :)
Oh, right! I didn't realize it's a test for the deprecated function. -- Regards, Alexander Chemeris. CEO, Fairwaves, Inc. / ООО УмРадио https://fairwaves.co
participants (2)
-
Alexander Chemeris -
Holger Hans Peter Freyther