mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
CSocket: Also call on_connected for local socket connections
This commit is contained in:
parent
14b2f90920
commit
e922db68d8
Notes:
sideshowbarker
2024-07-19 13:14:51 +09:00
Author: https://github.com/rburchell
Commit: e922db68d8
Pull-request: https://github.com/SerenityOS/serenity/pull/314
Reviewed-by: https://github.com/awesomekling ✅
1 changed files with 2 additions and 0 deletions
|
@ -92,6 +92,8 @@ bool CSocket::connect(const CSocketAddress& address)
|
|||
}
|
||||
|
||||
m_connected = true;
|
||||
if (on_connected)
|
||||
on_connected();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue