diff options
author | Peter Palfrader <peter@palfrader.org> | 2004-06-11 06:48:06 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2004-06-11 06:48:06 +0000 |
commit | 112330b99f5826a16ee9924fda7f4ee79e41352c (patch) | |
tree | 95f37217626a710a2cc7b67e30709c401f052a23 /Echolot/Storage/File.pm | |
parent | b426f6236a7e77aeca1ac0fee0dd996a1c259fed (diff) |
Fix use of an illegal filedescriptor when we know of a remailer, but do not have keys for it yet/anymore.
Diffstat (limited to 'Echolot/Storage/File.pm')
-rw-r--r-- | Echolot/Storage/File.pm | 6 |
1 files changed, 3 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') { |