summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2014-04-08 17:56:37 +0200
committerMichael Tänzer <neo@nhng.de>2014-04-08 17:56:37 +0200
commitb5da37cace08be0217cb05c4b09f07938b5db5ac (patch)
tree1414aa5dca1a5c0956a47fe4e4add86678f7590b
parent13aa009d4ca5779b228251f8e3b07c05caf16919 (diff)
downloadcacert-devel-b5da37cace08be0217cb05c4b09f07938b5db5ac.tar.gz
cacert-devel-b5da37cace08be0217cb05c4b09f07938b5db5ac.tar.xz
cacert-devel-b5da37cace08be0217cb05c4b09f07938b5db5ac.zip
bug 1265: Proper file name for lastid file
Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r--scripts/send_heartbleed.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/send_heartbleed.php b/scripts/send_heartbleed.php
index c7cd88d..f592d8c 100644
--- a/scripts/send_heartbleed.php
+++ b/scripts/send_heartbleed.php
@@ -107,9 +107,9 @@ if (file_exists("thawte_RU.txt"))
// read last used id
$lastid = 0;
-if (file_exists("send_thawte_lastid.txt"))
+if (file_exists("send_heartbleed_lastid.txt"))
{
- $fp = fopen("send_thawte_lastid.txt", "r");
+ $fp = fopen("send_heartbleed_lastid.txt", "r");
$lastid = trim(fgets($fp, 4096));
fclose($fp);
}
@@ -156,7 +156,7 @@ while($row = mysql_fetch_assoc($res))
sendmail($row['email'], "[CAcert.org] Changes at CAcert", $mailtxt, "mailing@cacert.org", "", "", "CAcert", "returns@cacert.org", "");
- $fp = fopen("send_thawte_lastid.txt", "w");
+ $fp = fopen("send_heartbleed_lastid.txt", "w");
fputs($fp, $row["id"]."\n");
fclose($fp);