summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class4
1 files changed, 3 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index f4dc05f..bd60ffc 100644
--- a/it_url.class
+++ b/it_url.class
@@ -319,7 +319,9 @@ function request($p=array())
$result =& $url->data;
$this->errstr = "HTTP Status " . $url->result;
}
- } else {
+ }
+ else
+ {
$result = $this->result = false;
$this->errstr = trim("(" . curl_errno($curl) . ") " . curl_error($curl));
$this->curlinfo = curl_getinfo($curl);