Fix indent

This commit is contained in:
iliajie
2022-11-04 11:38:18 +02:00
parent 6fb8de6e37
commit 3b86ebed97

View File

@@ -83,7 +83,7 @@ Net::WebSocket::Server->new(
},
utf8 => sub {
my ($conn, $msg) = @_;
utf8::encode($msg) if (utf8::is_utf8($msg));
utf8::encode($msg) if (utf8::is_utf8($msg));
if (!syswrite($shellfh, $msg, length($msg))) {
print STDERR "write to shell failed : $!\n";
&cleanup_miniserv();