projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
try to sort out PC16 so that local connections override and update remote
[spider.git]
/
perl
/
DXChannel.pm
diff --git
a/perl/DXChannel.pm
b/perl/DXChannel.pm
index bf419cec07452ce674993085f99cc72acb2bce69..36b221561c19775a570a7ca819c2dbd3f173be3b 100644
(file)
--- a/
perl/DXChannel.pm
+++ b/
perl/DXChannel.pm
@@
-124,11
+124,9
@@
$count = 0;
inqueue => '9,Input Queue,parray',
);
inqueue => '9,Input Queue,parray',
);
+
use vars qw($VERSION $BRANCH);
use vars qw($VERSION $BRANCH);
-$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
-$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ || (0,0));
-$main::build += $VERSION;
-$main::branch += $BRANCH;
+($VERSION, $BRANCH) = dxver(q$Revision$);
# object destruction
sub DESTROY
# object destruction
sub DESTROY
@@
-474,7
+472,7
@@
sub disconnect
my $user = $self->{user};
$user->close() if defined $user;
my $user = $self->{user};
$user->close() if defined $user;
- $self->{conn}->disconnect;
+ $self->{conn}->disconnect
if $self->{conn}
;
$self->del();
}
$self->del();
}