mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
IRCClient: Crash if server name resolution fails.
This is just so that I can catch it immediately. It obviously needs a bit of work to feel right.
This commit is contained in:
parent
cc20eef7ef
commit
2580d4b911
Notes:
sideshowbarker
2024-07-19 14:51:05 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/2580d4b9118
@ -59,7 +59,8 @@ void IRCAppWindow::setup_client()
|
||||
|
||||
m_client.set_server(input_box.text_value(), 6667);
|
||||
update_title();
|
||||
m_client.connect();
|
||||
bool success = m_client.connect();
|
||||
ASSERT(success);
|
||||
}
|
||||
|
||||
void IRCAppWindow::setup_actions()
|
||||
|
Loading…
Reference in New Issue
Block a user