mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix incorrect check for aborted server list GET request result
The HEAD request result has already been checked above.
This commit is contained in:
parent
e747a57af8
commit
399ba63a2c
|
@ -207,7 +207,7 @@ void CChooseMaster::CJob::Run()
|
|||
pGet->Wait();
|
||||
|
||||
auto Time = std::chrono::duration_cast<std::chrono::milliseconds>(time_get_nanoseconds() - StartTime);
|
||||
if(pHead->State() == EHttpState::ABORTED)
|
||||
if(pGet->State() == EHttpState::ABORTED)
|
||||
{
|
||||
dbg_msg("serverbrowse_http", "master chooser aborted");
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue