summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
authorNathan Gass2023-11-14 18:46:10 +0100
committerNathan Gass2023-11-14 18:46:10 +0100
commit970b9b5417ada8ea4f0c296f8d9c4ac1b1f648a4 (patch)
tree2f3f3a3d990a5a3bab1ed4103fdd25f08809c672 /it_url.class
parentd7b0fbd38f80a80424bf3645564eb3b9f9cc78fe (diff)
downloaditools-970b9b5417ada8ea4f0c296f8d9c4ac1b1f648a4.tar.gz
itools-970b9b5417ada8ea4f0c296f8d9c4ac1b1f648a4.tar.bz2
itools-970b9b5417ada8ea4f0c296f8d9c4ac1b1f648a4.zip
previous commit changed error code for maxlength reached
Diffstat (limited to 'it_url.class')
-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;