Fix incorrect check for aborted server list GET request result

The HEAD request result has already been checked above.
This commit is contained in:
Robert Müller 2024-02-10 22:10:06 +01:00
parent e747a57af8
commit 399ba63a2c

View file

@ -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;