projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make sure that pc92 C records are sent on init with last received time
[spider.git]
/
perl
/
DXProtout.pm
diff --git
a/perl/DXProtout.pm
b/perl/DXProtout.pm
index 1533c2b45887ed2cdb1bac8208db926599e42f29..0ba94dc634c5789f0b4f35c3b46489d60e944091 100644
(file)
--- a/
perl/DXProtout.pm
+++ b/
perl/DXProtout.pm
@@
-404,6
+404,19
@@
sub _gen_pc92
return $s . '^H99^';
}
return $s . '^H99^';
}
+sub gen_pc92_with_time
+{
+ my $call = shift;
+ my $sort = shift;
+ my $t = shift;
+ my $ext = 1;
+ my $s = "PC92^$call^$t^$sort";
+ for (@_) {
+ $s .= "^" . _encode_pc92_call($_, $ext);
+ }
+ return $s . '^H99^';
+}
+
# add a local one
sub pc92a
{
# add a local one
sub pc92a
{