summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pso/TProtocol.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pso/TProtocol.cpp b/src/pso/TProtocol.cpp
index 0970d39..0e243d0 100644
--- a/src/pso/TProtocol.cpp
+++ b/src/pso/TProtocol.cpp
@@ -71,7 +71,8 @@ void TProtocol::parse_packet() {
}
short TProtocol::send(u8 *data, size_t size) {
- return TTcpSocket::send(data, size);
+ const short ret = TTcpSocket::send(data, size);
+ return ret;
}
void TProtocol::run_task() {