Skip to content

Commit

Permalink
[ZF-11896] Zend_Http_Client
Browse files Browse the repository at this point in the history
Remove unused variable from Zend_Http_Client_Adapter_Socket
  • Loading branch information
adamlundrigan committed Nov 21, 2011
1 parent a2777d1 commit 67474e5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion library/Zend/Http/Client/Adapter/Socket.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ public function read()
// First, read headers only
$response = '';
$gotStatus = false;
$stream = !empty($this->config['stream']);

while (($line = @fgets($this->socket)) !== false) {
$gotStatus = $gotStatus || (strpos($line, 'HTTP') !== false);
Expand Down

0 comments on commit 67474e5

Please sign in to comment.