summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibCore/CSocket.cpp2
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;
}