- Fix test

This commit is contained in:
Felipe Pena 2009-07-17 14:03:17 +00:00
parent 02ab328b7b
commit 4ab3a4e9cc

View File

@ -38,7 +38,7 @@ curl_setopt($ch, CURLOPT_FILE, $fp);
curl_exec($ch);
curl_close($ch);
is_file($tempfile) and @unlink($tempfile);
isset($tempname) and is_file($tempname) and @unlink($tempfile);
isset($tempname) and is_file($tempname) and @unlink($tempname);
?>
--EXPECTF--
Warning: curl_setopt(): the provided file handle is not writable in %s on line %d