aboutsummaryrefslogtreecommitdiff
path: root/core/io/http_client.cpp
diff options
context:
space:
mode:
authorThaer Razeq2017-02-23 02:28:09 -0600
committerREBELLIOUSX\Rebel_X2017-02-28 07:52:02 -0600
commitf50488a36188d5975bfa8554687a1acdd394d6a9 (patch)
tree3b8712b9162aeb30e8eaaeeca63e6d04c7b9e3b5 /core/io/http_client.cpp
parent0f8c6dd3822c38b8145f08265abb9eba479f4d15 (diff)
downloadgodot-f50488a36188d5975bfa8554687a1acdd394d6a9.tar.gz
godot-f50488a36188d5975bfa8554687a1acdd394d6a9.tar.zst
godot-f50488a36188d5975bfa8554687a1acdd394d6a9.zip
Diffstat (limited to 'core/io/http_client.cpp')
-rw-r--r--core/io/http_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/http_client.cpp b/core/io/http_client.cpp
index 5c54f16f1..ae14f8fa3 100644
--- a/core/io/http_client.cpp
+++ b/core/io/http_client.cpp
@@ -340,7 +340,7 @@ Error HTTPClient::poll(){
int rs = response_str.size();
if (
(rs>=2 && response_str[rs-2]=='\n' && response_str[rs-1]=='\n') ||
- (rs>=4 && response_str[rs-4]=='\r' && response_str[rs-3]=='\n' && rs>=4 && response_str[rs-2]=='\r' && response_str[rs-1]=='\n')
+ (rs>=4 && response_str[rs-4]=='\r' && response_str[rs-3]=='\n' && response_str[rs-2]=='\r' && response_str[rs-1]=='\n')
) {