mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-13 02:52:37 +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! */
|
* of information? Just fall back to the old system! */
|
||||||
this->callback->OnFailure();
|
this->callback->OnFailure();
|
||||||
delete this;
|
delete this;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
*_http_connections.Append() = this;
|
*_http_connections.Append() = this;
|
||||||
|
Loading…
Reference in New Issue
Block a user