diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pso/TTcpSocket.cpp | 2 |
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 { |