summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2003-02-22 21:01:06 +0000
committerPeter Palfrader <peter@palfrader.org>2003-02-22 21:01:06 +0000
commit31703c15769f41085a53310efb776d6a5165d3c7 (patch)
tree1bca646d6ee53dd0583a34747e203d36541ceb01
parentdca6c6b907f51749cc526988853fabcb9af4d7d9 (diff)
Handle situations better in which a ping receives when the key already is expired
-rw-r--r--Echolot/Storage/File.pm6
-rw-r--r--NEWS2
2 files changed, 5 insertions, 3 deletions
diff --git a/Echolot/Storage/File.pm b/Echolot/Storage/File.pm
index dff840e..e2ac834 100644
--- a/Echolot/Storage/File.pm
+++ b/Echolot/Storage/File.pm
@@ -1,7 +1,7 @@
package Echolot::Storage::File;
# (c) 2002 Peter Palfrader <peter@palfrader.org>
-# $Id: File.pm,v 1.56 2003/02/21 05:52:05 weasel Exp $
+# $Id: File.pm,v 1.57 2003/02/22 21:01:06 weasel Exp $
#
=pod
@@ -490,8 +490,8 @@ sub get_pings($$$$$) {
my @pings;
my $fh = $self->get_ping_fh($remailer_addr, $type, $key, $direction) or
- Echolot::Log::warn ("$remailer_addr; type=$type; key=$key has no assigned filehandle for $direction pings."),
- return undef;
+ Echolot::Log::info ("$remailer_addr; type=$type; key=$key has no assigned filehandle for $direction pings (key has expired)."),
+ return ();
seek($fh, 0, SEEK_SET) or
Echolot::Log::warn("Cannot seek to start of $remailer_addr type $type key $key direction $direction pings: $!."),
diff --git a/NEWS b/NEWS
index 03513a7..d7c28ed 100644
--- a/NEWS
+++ b/NEWS
@@ -30,6 +30,8 @@ Changes in version
* Print status summary to log daily.
- Also adds the new "summary" command.
* Reliable and CRLF - a neverending (sad) story.
+ * Handle situations better in which a ping receives when the
+ key already is expired.
Changes in version 2.0.10 - 2003-02-03
* Return undef rather than 0 if we cannot open a Maildir.