summaryrefslogtreecommitdiff
path: root/modules/aggregator
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-08-05 10:21:32 +0000
committerDries Buytaert <dries@buytaert.net>2001-08-05 10:21:32 +0000
commit2d13b53000bebc3e75d8d63aed69d75849b57d57 (patch)
treef590941c4a6a920658224c19ae99dc3017b987da /modules/aggregator
parentaeb17a8fa49ddc732f080f7fc7668f0438869e16 (diff)
downloadbrdo-2d13b53000bebc3e75d8d63aed69d75849b57d57.tar.gz
brdo-2d13b53000bebc3e75d8d63aed69d75849b57d57.tar.bz2
- added fclose()
Diffstat (limited to 'modules/aggregator')
-rw-r--r--modules/aggregator/aggregator.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index b4f6f315b..b782dad0b 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -144,6 +144,7 @@ function import_refresh($feed) {
while (!feof($fp)) {
$data .= fgets($fp, 128);
}
+ fclose($fp);
// initialize the translation table:
$tt = array_flip(get_html_translation_table(HTML_ENTITIES));
@@ -357,6 +358,7 @@ function import_fd_collect($edit) {
while (!feof($fp)) {
$data .= fgets($fp, 128);
}
+ fclose($fp);
// initialize the translation table:
$tt = array_flip(get_html_translation_table(HTML_ENTITIES));