summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-04-27 21:37:49 +0000
committerColin Smith <colin@pfsense.org>2005-04-27 21:37:49 +0000
commit50a7ccc971d58807b1c671c1caabfdb82c836cc6 (patch)
treebd680b797a94e8cdd8191718c577a8b8b4bb6bd3 /usr/local
parent60b0a101066b0a713d7d955e975d066e83d4d00b (diff)
downloadpfsense-50a7ccc971d58807b1c671c1caabfdb82c836cc6.zip
pfsense-50a7ccc971d58807b1c671c1caabfdb82c836cc6.tar.gz
Don't attempt to get errors from the cURL handle after it's closed.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/guiconfig.inc5
1 files changed, 0 insertions, 5 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index 3050673..88060e0 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -532,11 +532,6 @@ function download_file_with_progress_bar($url_file, $destination_file) {
fclose($fout);
curl_close($ch);
- if ($error = curl_error($ch)) {
- print $error;
- return -1;
- }
-
return 1;
}
OpenPOWER on IntegriCloud