summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index 2b3df72..ced7a7b 100644
--- a/it_url.class
+++ b/it_url.class
@@ -335,7 +335,7 @@ function request($p=array())
$this->curlinfo = curl_getinfo($curl);
EDC('curlinfo', $this->curlinfo);
- if ($got !== false || curl_errno($curl) == 42)
+ if ($got !== false || curl_errno($curl) == 23)
{
$url->header = array_slice(explode("\r\n\r\n", trim($header)), -1)[0] . "\r\n\r\n";
$url->data = $got;