X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProt.pm;h=d4d5491aaed7d24144ea21e195d691c10baa59c6;hb=b70be747913c158cb53bc6f7277f803f93bbb98d;hp=e6f98c95197b106fd57430b0784f5c5a60144aed;hpb=6bcc8c5655882b27482f538335ba6e0083f3f3cc;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index e6f98c95..d4d5491a 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -695,8 +695,9 @@ sub handle_16 unless ($ncall eq $self->{call} || $self->is_believed($ncall)) { if (my $ivp = Investigate::get($ncall, $self->{call})) { $ivp->store_pcxx($pcno,$line,$origin,@_); + } else { + dbg("PCPROT: We don't believe $ncall on $self->{call}") if isdbg('chanerr'); } - dbg("PCPROT: We don't believe $ncall on $self->{call}"); return; } @@ -848,8 +849,9 @@ sub handle_17 unless ($ncall eq $self->{call} || $self->is_believed($ncall)) { if (my $ivp = Investigate::get($ncall, $self->{call})) { $ivp->store_pcxx($pcno,$line,$origin,@_); + } else { + dbg("PCPROT: We don't believe $ncall on $self->{call}") if isdbg('chanerr'); } - dbg("PCPROT: We don't believe $ncall on $self->{call}"); return; } @@ -1005,7 +1007,7 @@ sub handle_19 $ivp->here($here); $ivp->store_pcxx($pcno,$genline,$origin,'PC19',$here,$call,$conf,$ver,$_[-1]); } else { - dbg("PCPROT: We don't believe $call on $self->{call}"); + dbg("PCPROT: We don't believe $call on $self->{call}") if isdbg('chanerr'); } $user->put; next; @@ -1101,8 +1103,9 @@ sub handle_21 unless ($call eq $self->{call} || $self->is_believed($call)) { if (my $ivp = Investigate::get($call, $self->{call})) { $ivp->store_pcxx($pcno,$line,$origin,@_); + } else { + dbg("PCPROT: We don't believe $call on $self->{call}") if isdbg('chanerr'); } - dbg("PCPROT: We don't believe $call on $self->{call}"); return; } @@ -2455,7 +2458,7 @@ sub eph_dup $s =~ s/\^H\d\d?\^?\~?$//; $r = 1 if exists $eph{$s}; # pump up the dup if it keeps circulating $eph{$s} = $main::systime + $t; - dbg("PCPROT: emphemeral duplicate") if $r && isdbg('chan'); + dbg("PCPROT: emphemeral duplicate") if $r && isdbg('chanerr'); return $r; }