diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-14 00:20:44 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-14 00:20:44 +0100 |
commit | 66d55f8e0c16c641ec3ca47711835de974320b06 (patch) | |
tree | 7442ae854f9d731b1d2f7578a2a8c7bdb223faba /Kernel/Scheduler.cpp | |
parent | 032d9d706521c2b0dc1003364b5fc2cf6316bf4f (diff) | |
download | serenity-66d55f8e0c16c641ec3ca47711835de974320b06.zip |
IPv4: More work on the TCP implementation.
I can now establish a connection to my little test server on the host.
Diffstat (limited to 'Kernel/Scheduler.cpp')
-rw-r--r-- | Kernel/Scheduler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Scheduler.cpp b/Kernel/Scheduler.cpp index 7a8748c051..7370144d7c 100644 --- a/Kernel/Scheduler.cpp +++ b/Kernel/Scheduler.cpp @@ -95,8 +95,8 @@ bool Scheduler::pick_next() } if (process.state() == Process::BlockedConnect) { - ASSERT(process.m_blocked_connecting_socket); - if (process.m_blocked_connecting_socket->is_connected()) + ASSERT(process.m_blocked_socket); + if (process.m_blocked_socket->is_connected()) process.unblock(); return true; } |