LibCore: Fix wrong return value in Core::Socket::destination_address()

This commit is contained in:
Andreas Kling 2020-02-22 16:38:10 +01:00
parent 97e9deccf0
commit 82fd09e8fe
Notes: sideshowbarker 2024-07-19 09:09:58 +09:00

View file

@ -58,7 +58,7 @@ public:
SocketAddress source_address() const { return m_source_address; }
int source_port() const { return m_source_port; }
SocketAddress destination_address() const { return m_source_address; }
SocketAddress destination_address() const { return m_destination_address; }
int destination_port() const { return m_destination_port; }
Function<void()> on_connected;