diff options
author | Javier <dev.git@javispedro.com> | 2015-12-16 02:10:10 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2015-12-16 02:10:10 +0100 |
commit | 309947a4316a94f4c5d43c9b39b733cc3bbab459 (patch) | |
tree | a339058f8e1c3045240d71ab961c7ec1effdd947 /saprotocol.cc | |
parent | aabf2deebb9619e21f1ebac0690c6b206b16b251 (diff) | |
download | sapd-309947a4316a94f4c5d43c9b39b733cc3bbab459.tar.gz sapd-309947a4316a94f4c5d43c9b39b733cc3bbab459.zip |
implement session termination requests
Diffstat (limited to 'saprotocol.cc')
-rw-r--r-- | saprotocol.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/saprotocol.cc b/saprotocol.cc index 94594a1..00c083f 100644 --- a/saprotocol.cc +++ b/saprotocol.cc @@ -392,8 +392,8 @@ SAProtocol::ServiceConnectionResponseFrame SAProtocol::unpackServiceConnectionRe int offset = 0; frame.messageType = read<quint8>(data, offset); - frame.acceptorId = read<quint8>(data, offset); - frame.initiatorId = read<quint8>(data, offset); + frame.acceptorId = read<quint16>(data, offset); + frame.initiatorId = read<quint16>(data, offset); int marker = data.indexOf(';', offset); if (marker == -1) { @@ -446,8 +446,8 @@ SAProtocol::ServiceTerminationRequestFrame SAProtocol::unpackServiceTerminationR int offset = 0; frame.messageType = read<quint8>(data, offset); - frame.acceptorId = read<quint8>(data, offset); - frame.initiatorId = read<quint8>(data, offset); + frame.acceptorId = read<quint16>(data, offset); + frame.initiatorId = read<quint16>(data, offset); int marker = data.indexOf(';', offset); if (marker == -1) { @@ -480,8 +480,8 @@ SAProtocol::ServiceTerminationResponseFrame SAProtocol::unpackServiceTermination int offset = 0; frame.messageType = read<quint8>(data, offset); - frame.acceptorId = read<quint8>(data, offset); - frame.initiatorId = read<quint8>(data, offset); + frame.acceptorId = read<quint16>(data, offset); + frame.initiatorId = read<quint16>(data, offset); int marker = data.indexOf(';', offset); if (marker == -1) { |