diff options
-rw-r--r-- | it_url.class | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/it_url.class b/it_url.class index ea72c9a..817630f 100644 --- a/it_url.class +++ b/it_url.class @@ -317,7 +317,8 @@ function request($p=array()) if ($p['maxlength'] && $got) $got = $content; - EDC('curlinfo', curl_getinfo($curl)); + $this->curlinfo = curl_getinfo($curl); + EDC('curlinfo', $this->curlinfo); if ($got !== false) { @@ -345,7 +346,6 @@ function request($p=array()) { $result = $this->result = false; $this->errstr = trim("(" . curl_errno($curl) . ") " . curl_error($curl)); - $this->curlinfo = curl_getinfo($curl); } if ($p['verbose']) |