@@ -129,7 +129,7 @@ |
||
129 | 129 | if ($raised = curl_multi_info_read($this->mh, $remains)) { |
130 | 130 | $ch = $raised['handle']; |
131 | 131 | $errno = curl_errno($ch); |
132 | - if($errno == CURLE_OK && $raised['result'] != CURLE_OK) |
|
132 | + if ($errno == CURLE_OK && $raised['result'] != CURLE_OK) |
|
133 | 133 | $errno = $raised['result']; |
134 | 134 | $error = curl_error($ch); |
135 | 135 | $info = curl_getinfo($ch); |
@@ -129,8 +129,9 @@ |
||
129 | 129 | if ($raised = curl_multi_info_read($this->mh, $remains)) { |
130 | 130 | $ch = $raised['handle']; |
131 | 131 | $errno = curl_errno($ch); |
132 | - if($errno == CURLE_OK && $raised['result'] != CURLE_OK) |
|
133 | - $errno = $raised['result']; |
|
132 | + if($errno == CURLE_OK && $raised['result'] != CURLE_OK) { |
|
133 | + $errno = $raised['result']; |
|
134 | + } |
|
134 | 135 | $error = curl_error($ch); |
135 | 136 | $info = curl_getinfo($ch); |
136 | 137 | curl_setopt($ch, CURLOPT_FILE, $this->blackhole); //release file pointer |