summaryrefslogtreecommitdiff
path: root/src/pso/TTcpSocket.cpp
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-03-12 14:34:47 -0300
committermrb0nk500 <b0nk@b0nk.xyz>2023-03-12 14:35:47 -0300
commitd7336127af97ed86778796fb3a9cd203ce8b9306 (patch)
tree1215e2c555f6a3e18213daefae03a516c512241c /src/pso/TTcpSocket.cpp
parent8a0ac8490951429277e707607975424b6dcd12b8 (diff)
TProtocol: Add, and match more command handlers, along with some other
functions needed to get them working
Diffstat (limited to 'src/pso/TTcpSocket.cpp')
-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 2288bf1..19e692e 100644
--- a/src/pso/TTcpSocket.cpp
+++ b/src/pso/TTcpSocket.cpp
@@ -225,7 +225,7 @@ short TTcpSocket::close() {
return m_sock_fd;
}
-short TTcpSocket::open() {
+int TTcpSocket::open() {
m_sock_fd = -1;
m_is_encrypted = 0;
m_size = 0;