summaryrefslogtreecommitdiff
path: root/modules/cloud.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/cloud.module')
-rw-r--r--modules/cloud.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/cloud.module b/modules/cloud.module
index d3670e263..d17f2eafa 100644
--- a/modules/cloud.module
+++ b/modules/cloud.module
@@ -58,6 +58,8 @@ function cloud_update($site) {
if (abs($site[size] - strlen($data)) > 50) {
db_query("UPDATE site SET size = '". strlen($data) ."', timestamp = '". time() ."' WHERE link = '". check_input($site[link]) ."'");
}
+
+ fclose($fp);
}
else {
watchdog("warning", "cloud: failed to syndicate from '$site[name]'". ($errstr ? ": $errstr" : ""));