diff options
Diffstat (limited to 'inc/HTTP')
-rw-r--r-- | inc/HTTP/HTTPClient.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/inc/HTTP/HTTPClient.php b/inc/HTTP/HTTPClient.php index 06b68a43a..354d03e83 100644 --- a/inc/HTTP/HTTPClient.php +++ b/inc/HTTP/HTTPClient.php @@ -319,8 +319,7 @@ class HTTPClient if ($match[1] > $this->max_bodysize) { if ($this->max_bodysize_abort) throw new HTTPClientException('Reported content length exceeds allowed response size'); - else - $this->error = 'Reported content length exceeds allowed response size'; + else $this->error = 'Reported content length exceeds allowed response size'; } } @@ -466,7 +465,6 @@ class HTTPClient } } } - } catch (HTTPClientException $err) { $this->error = $err->getMessage(); if ($err->getCode()) |