summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_content.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/network_content.cpp b/src/network/network_content.cpp
index d36aec6ba..8c038796f 100644
--- a/src/network/network_content.cpp
+++ b/src/network/network_content.cpp
@@ -555,7 +555,8 @@ void ClientNetworkContentSocketHandler::OnFailure()
uint files, bytes;
this->DownloadSelectedContent(files, bytes, true);
- this->http_response.Reset();
+ this->http_response.clear();
+ this->http_response.shrink_to_fit();
this->http_response_index = -2;
if (this->curFile != NULL) {