mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-12 18:40:29 +00:00
(svn r21302) -Fix (r18994): do not add HTTP connection to list of connections when it fails in the beginning
This commit is contained in:
parent
c5cbb61c11
commit
3302a520f4
@ -51,6 +51,7 @@ NetworkHTTPSocketHandler::NetworkHTTPSocketHandler(SOCKET s,
|
||||
* of information? Just fall back to the old system! */
|
||||
this->callback->OnFailure();
|
||||
delete this;
|
||||
return;
|
||||
}
|
||||
|
||||
*_http_connections.Append() = this;
|
||||
|
Loading…
Reference in New Issue
Block a user