projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more bandaids
[spider.git]
/
perl
/
ExtMsg.pm
diff --git
a/perl/ExtMsg.pm
b/perl/ExtMsg.pm
index 4efb3484c0621d58c90631ab247ff6c67d87304a..be7d0e84c0ada79e8b349e83c445e59b01b4165c 100644
(file)
--- a/
perl/ExtMsg.pm
+++ b/
perl/ExtMsg.pm
@@
-118,7
+118,7
@@
sub to_connected
$conn->{timeout}->del if $conn->{timeout};
delete $conn->{timeout};
&{$conn->{rproc}}($conn, "$dir$call|$sort");
$conn->{timeout}->del if $conn->{timeout};
delete $conn->{timeout};
&{$conn->{rproc}}($conn, "$dir$call|$sort");
- $conn->_send_file("$main::data/connected");
+ $conn->_send_file("$main::data/connected")
unless $conn->{outgoing}
;
}
sub new_client {
}
sub new_client {
@@
-169,6
+169,7
@@
sub start_connect
my $call = shift;
my $fn = shift;
my $conn = ExtMsg->new(\&main::new_channel);
my $call = shift;
my $fn = shift;
my $conn = ExtMsg->new(\&main::new_channel);
+ $conn->{outgoing} = 1;
$conn->conns($call);
my $f = new IO::File $fn;
$conn->conns($call);
my $f = new IO::File $fn;