summaryrefslogtreecommitdiff
path: root/src/pso
diff options
context:
space:
mode:
Diffstat (limited to 'src/pso')
-rw-r--r--src/pso/TTcpSocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pso/TTcpSocket.cpp b/src/pso/TTcpSocket.cpp
index 71bdd99..5021fd6 100644
--- a/src/pso/TTcpSocket.cpp
+++ b/src/pso/TTcpSocket.cpp
@@ -146,7 +146,7 @@ int TTcpSocket::test_connection() {
void some_stub() {}
-int TTcpSocket::stat() {
+short TTcpSocket::stat() {
if (sock_fd() != -1) {
return tcp_stat(sock_fd(), &stat_val(), nullptr, &send_window(), &recv_window());
} else {