summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2004-06-11 06:48:06 +0000
committerPeter Palfrader <peter@palfrader.org>2004-06-11 06:48:06 +0000
commit112330b99f5826a16ee9924fda7f4ee79e41352c (patch)
tree95f37217626a710a2cc7b67e30709c401f052a23
parentb426f6236a7e77aeca1ac0fee0dd996a1c259fed (diff)
Fix use of an illegal filedescriptor when we know of a remailer, but do not have keys for it yet/anymore.
-rw-r--r--Echolot/Storage/File.pm6
-rw-r--r--NEWS4
2 files changed, 7 insertions, 3 deletions
diff --git a/Echolot/Storage/File.pm b/Echolot/Storage/File.pm
index 0325458..e0a0623 100644
--- a/Echolot/Storage/File.pm
+++ b/Echolot/Storage/File.pm
@@ -515,13 +515,13 @@ sub get_pings($$$$$) {
my $fh = $self->get_ping_fh($remailer_addr, $type, $key, $direction, 1);
(defined $fh) or
- Echolot::Log::cluck ("$remailer_addr; type=$type; key=$key has no assigned filehandle for out pings."),
+ Echolot::Log::cluck ("$remailer_addr; type=$type; key=$key has no assigned filehandle for out pings.");
($fh == -1) and
- Echolot::Log::info ("$remailer_addr; type=$type; key=$key has no assigned filehandle for $direction pings (key has expired)."),
+ Echolot::Log::info ("$remailer_addr; type=$type; key=$key has no assigned filehandle for $direction pings (key has expired, or not available yet)."),
return ();
seek($fh, 0, SEEK_SET) or
- Echolot::Log::warn("Cannot seek to start of $remailer_addr type $type key $key direction $direction pings: $!."),
+ Echolot::Log::warn("Cannot seek to start of $remailer_addr type $type key $key direction $direction pings: $! ($fh)."),
return undef;
if ($direction eq 'out') {
diff --git a/NEWS b/NEWS
index 67c8952..243418b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+Changes in version XXXXX - 2004
+ * Fix use of an illegal filedescriptor when we know of a remailer,
+ but do not have keys for it yet/anymore.
+
Changes in version 2.1.4 - 2004-06-10
* Have new disable and enable commands which are shortcut
for set pingit=off showit=off fetch=off and =on respectively.