diff options
author | Robin Burchell <robin+git@viroteck.net> | 2019-07-16 13:17:23 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-16 13:18:37 +0200 |
commit | e922db68d8ef5c3af00252da4b8e92b77ac0f6ad (patch) | |
tree | e0db627dd4c86c7a6aad80ac292ed1c78e51cc77 /Libraries | |
parent | 14b2f9092027b47f665e1e6a87998967b8001efb (diff) | |
download | serenity-e922db68d8ef5c3af00252da4b8e92b77ac0f6ad.zip |
CSocket: Also call on_connected for local socket connections
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibCore/CSocket.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibCore/CSocket.cpp b/Libraries/LibCore/CSocket.cpp index ff424ea7a7..1768fa6255 100644 --- a/Libraries/LibCore/CSocket.cpp +++ b/Libraries/LibCore/CSocket.cpp @@ -92,6 +92,8 @@ bool CSocket::connect(const CSocketAddress& address) } m_connected = true; + if (on_connected) + on_connected(); return true; } |