From 970d8ae5f1c263bc78390ca35ee876aa41382f21 Mon Sep 17 00:00:00 2001 From: minima Date: Wed, 23 Aug 2000 17:12:55 +0000 Subject: [PATCH] fixed some more protocol checking issues --- perl/DXProt.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perl/DXProt.pm b/perl/DXProt.pm index e7f3c7c0..6e5efeaf 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -67,8 +67,8 @@ $baddxfn = "$main::data/baddx.pl"; [ qw(d n n n n m c c h) ], # pc23 [ qw(c p h) ], # pc24 [ qw(c c n n) ], # pc25 - [ qw(f m d t m c c) ], # pc26 - [ qw(d n n n n m c c) ], # pc27 + [ qw(f m d t m c c bc) ], # pc26 + [ qw(d n n n n m c c bc) ], # pc27 [ qw(c c c c d t p m bp n p bp bc) ], # pc28 [ qw(c c n m) ], # pc29 [ qw(c c n) ], # pc30 @@ -141,7 +141,7 @@ sub check my $i; shift; # not interested in the first field - for ($i = 0; $i < @_; $i++) { + for ($i = 0; $i < @$ref; $i++) { my ($blank, $act) = $$ref[$i] =~ /^(b?)(\w)$/; return 0 unless $act; next if $blank && $_[$i] =~ /^[ \*]$/; -- 2.43.0