X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=perl%2FDXProtout.pm;h=f01a1481cc0a06681bc3ceccc065809f0c63f20e;hb=82267cf9d2f19618f10e689d7aa5da8a5659c7ce;hp=6ee0c4984a40799ccf9833e19ebe794d36ea930a;hpb=2d6de0d041a38f0c89948d756b944747326ca1ed;p=spider.git diff --git a/perl/DXProtout.pm b/perl/DXProtout.pm index 6ee0c498..f01a1481 100644 --- a/perl/DXProtout.pm +++ b/perl/DXProtout.pm @@ -385,7 +385,7 @@ sub _gen_pc92 } for (@_) { $s .= '^' . _encode_pc92_call($_, $ext); - $ext = 0; # only the first slot has an ext. + $ext = 0 unless $sort eq 'A'; # only the first slot has an ext. } return $s . '^H99^'; } @@ -410,7 +410,7 @@ sub gen_pc92_with_time # add a local one sub pc92a { - return _gen_pc92('A', 0, @_); + return _gen_pc92('A', 2, @_); } # delete a local one