]> dxcluster.org Git - spider.git/commitdiff
add yet more changes in pc34
authorDirk Koopman <djk@tobit.co.uk>
Fri, 9 Mar 2012 22:15:30 +0000 (22:15 +0000)
committerDirk Koopman <djk@tobit.co.uk>
Fri, 9 Mar 2012 22:15:30 +0000 (22:15 +0000)
perl/DXUser.pm

index 419086adaa1230ef09e55772dc7fc17f625195f0..6cd6ca4f14bc6df4ba2bb4bd58d8e4f07ca108e9 100644 (file)
@@ -250,12 +250,12 @@ sub get
                $ref = decode($data);
                if ($ref) {
                        if (UNIVERSAL::isa($ref, 'DXUser')) {
-                               dbg("DXUser::get: got strange answer from decode ". ref $ref. " ignoring");
+                               dbg("DXUser::get: got strange answer from decode of $call". ref $ref. " ignoring");
                                return undef;
                        }
                        # we have a reference and it *is* a DXUser
                } else {
-                       dbg("DXUser::get: no reference returned from decode $!");
+                       dbg("DXUser::get: no reference returned from decode of $call $!");
                        return undef;
                }
                $lru->put($call, $ref);
@@ -281,7 +281,7 @@ sub get_current
                my $ref = $dxchan->user;
                return $ref if $ref && UNIVERSAL::isa($ref, 'DXUser');
 
-               dbg("DXUser::get_current: got invalid user ref from dxchan $dxchan->{call} ". ref $ref. " ignoring");
+               dbg("DXUser::get_current: got invalid user ref for $call from dxchan $dxchan->{call} ". ref $ref. " ignoring");
        }
        return get($call);
 }