Permalink
Browse files

removing a double set of parenthesis

  • Loading branch information...
1 parent dd7fb29 commit 67b54dde4e3bc5b340617edad6e767f9a1a6314b Joseph Crawford committed Dec 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/Zend/Http/Client/Adapter/Socket.php
View
2 library/Zend/Http/Client/Adapter/Socket.php
@@ -193,7 +193,7 @@ public function connect($host, $port = 80, $secure = false)
? substr($this->connected_to[0], (strpos($this->connected_to[0], '://') + 3), strlen($this->connected_to[0]))
: $this->connected_to[0];
- if (($connected_host != $host || $this->connected_to[1] != $port)) {
+ if ($connected_host != $host || $this->connected_to[1] != $port) {
if (is_resource($this->socket)) {
$this->close();
}

0 comments on commit 67b54dd

Please sign in to comment.