}
if (defined $sock) {
$sock->write($data);
- $total_out = $lth;
+ $total_out += $lth;
} else {
dbg("_send_stuff $call ending data ignored: $data");
}
my $sock = $conn->{sock};
return unless defined($sock);
+ $total_in += length $msg;
+
my @lines;
if (isdbg('raw')) {
my $call = $conn->{call} || 'none';