diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-22 16:38:10 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-22 16:38:10 +0100 |
commit | 82fd09e8fe41c5ee51df10443b2b87eb9d3ee327 (patch) | |
tree | ce64e914f24cfe53a2f101cf587f9de8e3814084 /Libraries/LibCore | |
parent | 97e9deccf0c1e84d2f89ce39bfe9658d74203c00 (diff) | |
download | serenity-82fd09e8fe41c5ee51df10443b2b87eb9d3ee327.zip |
LibCore: Fix wrong return value in Core::Socket::destination_address()
Diffstat (limited to 'Libraries/LibCore')
-rw-r--r-- | Libraries/LibCore/Socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibCore/Socket.h b/Libraries/LibCore/Socket.h index a53d433568..48bd428748 100644 --- a/Libraries/LibCore/Socket.h +++ b/Libraries/LibCore/Socket.h @@ -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; |