summaryrefslogtreecommitdiff
path: root/url.class
diff options
context:
space:
mode:
authorUrban Müller2007-01-17 19:05:11 +0000
committerUrban Müller2007-01-17 19:05:11 +0000
commit25778ef80fedaefaf16cea3a75dc554cfe7e2376 (patch)
treea89fb58846913c48ebcfb6c53455c06ee6b6139b /url.class
parentce579f09143160e84aba768bc38054d09a11063f (diff)
downloaditools-25778ef80fedaefaf16cea3a75dc554cfe7e2376.tar.gz
itools-25778ef80fedaefaf16cea3a75dc554cfe7e2376.tar.bz2
itools-25778ef80fedaefaf16cea3a75dc554cfe7e2376.zip
it::error: fewer alerts, better performance
Diffstat (limited to 'url.class')
-rw-r--r--url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/url.class b/url.class
index ebe42a5..c1be258 100644
--- a/url.class
+++ b/url.class
@@ -363,7 +363,7 @@ function get_cache($p = array())
if (($parts = parse_url($p['url'])) === false)
it::error('malformed url ' . $p['url']);
if ($p['safety'] == 1)
- it::error(array('title'=>"get_cache: download failures on $path", 'ok_key'=>md5($parts['host']), 'ok_delay'=>$p['maxage'], 'ok'=>$result ? 1 : 0)); # send err only if multi failure
+ it::error(array('title'=>"get_cache: download failures on {$p['url']}", 'ok_key'=>"ok_".$parts['host'], 'ok'=>$result ? 1 : 0)); # send err only if multi failure
@unlink("$path.lock");
}