From b025d4874b171c675dc18889c3900c83194863e6 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Wed, 15 Mar 2023 17:13:33 -0300 Subject: TProtocol: Add `flex_packet`, and make use of it in `packet` This will be needed later on. --- src/pso/TProtocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pso/TProtocol.cpp b/src/pso/TProtocol.cpp index 408214b..e9b3226 100644 --- a/src/pso/TProtocol.cpp +++ b/src/pso/TProtocol.cpp @@ -150,7 +150,7 @@ void TProtocol::recv_generate_id(packet &pkt) { void TProtocol::recv_pso_data_long(packet &pkt) { TRecvPsoData &tmp = as(TRecvPsoData &, pkt); - pkt.bswap(); + pkt.pkt.bswap(); tmp.data.recv_pso_data_buf(tmp.header.size - 4); }; -- cgit v1.2.3-13-gbd6f