summaryrefslogtreecommitdiff
path: root/src/pso
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-03-01 17:22:19 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-03-01 17:22:19 -0400
commit82eea8b5a759715ba06c13d14c048460f965419a (patch)
treef73103c709149c32b9a34c39ab3370e20f5c6705 /src/pso
parentb1d5ff8898c1cca680842848586251c6f64b6932 (diff)
TTcpSocket: Make `stat()` return a `short`
oof, this caused `send(u8 *)` to not match, but making it return a `short` caused it to suddenly match.
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 {