From f1b41d840590ed72c0956773dc23563f31ff803d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Fri, 6 Mar 2020 11:20:30 +0100 Subject: [PATCH] websocket_proxy: fix indentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabian Grünbichler --- PVE/APIServer/AnyEvent.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PVE/APIServer/AnyEvent.pm b/PVE/APIServer/AnyEvent.pm index 90f51e8..3d755d4 100644 --- a/PVE/APIServer/AnyEvent.pm +++ b/PVE/APIServer/AnyEvent.pm @@ -507,9 +507,9 @@ sub websocket_proxy { } elsif ($opcode == 8) { my $statuscode = unpack ("n", $payload); print "websocket received close. status code: '$statuscode'\n" if $self->{debug}; - if ($reqstate->{proxyhdl}) { - $reqstate->{proxyhdl}->push_shutdown(); - } + if ($reqstate->{proxyhdl}) { + $reqstate->{proxyhdl}->push_shutdown(); + } $hdl->push_shutdown(); } elsif ($opcode == 9) { # ping received, schedule pong -- 2.39.2