diff options
author | smatz <smatz@openttd.org> | 2010-11-23 22:16:11 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2010-11-23 22:16:11 +0000 |
commit | 3302a520f4c79cec3ecd3c62bfa78534260346e0 (patch) | |
tree | 0cf7771d79219692633703b2bc6c1c9ad0bf5fda | |
parent | c5cbb61c115b0b566e499a6c86b21930c25ac66e (diff) | |
download | openttd-3302a520f4c79cec3ecd3c62bfa78534260346e0.tar.xz |
(svn r21302) -Fix (r18994): do not add HTTP connection to list of connections when it fails in the beginning
-rw-r--r-- | src/network/core/tcp_http.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/core/tcp_http.cpp b/src/network/core/tcp_http.cpp index ac32d47da..5ad24cfb7 100644 --- a/src/network/core/tcp_http.cpp +++ b/src/network/core/tcp_http.cpp @@ -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; |