summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/App/Termcast.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/Termcast.pm b/lib/App/Termcast.pm
index a82a946..422c3be 100644
--- a/lib/App/Termcast.pm
+++ b/lib/App/Termcast.pm
@@ -213,7 +213,7 @@ sub write_to_termcast {
if (!$ready || $self->_socket_ready($eout)) {
Carp::carp("Lost connection to server ($!), reconnecting...");
$self->clear_socket;
- return $self->socket_write(@_);
+ return $self->write_to_termcast(@_);
}
$self->socket->syswrite($buf);
}