aboutsummaryrefslogtreecommitdiff
path: root/libqcdm/src/commands.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2012-01-18 12:28:50 -0600
committerDan Williams <dcbw@redhat.com>2012-01-18 12:28:50 -0600
commit27b981237eff9ef6239609ed040dc8c088e943d8 (patch)
tree1ed29e11b18973bee786be0c70d9d96f5b433a3c /libqcdm/src/commands.c
parent178f30bdd3111ba645b92ae6511911cc6a9ece4c (diff)
core: fix some bugs in GSM7 packing code
The existing gsm_pack() had a bug where if the last septet should be in an octet by itself, that last octet wouldn't be added. Plus, kinda pointless to use a GByteArray here when we already know what the length will be through simple arithmetic. We can also simplify the function too. Furthermore, there weren't any testcases for starting packing at an offset other than zero, so add one.
Diffstat (limited to 'libqcdm/src/commands.c')
0 files changed, 0 insertions, 0 deletions