fix(tools): correct brackets of set_ws_process in manage vnc pipes

main
Tsu-ba-me 1 year ago committed by Yanhao Lei
parent 912ccb458b
commit ed54bb88f5
  1. 4
      tools/striker-manage-vnc-pipes

@ -409,7 +409,7 @@ sub set_ws_process
my $tport = $process->{tport}; my $tport = $process->{tport};
$processes->{pids}{$pid} = $process; $processes->{pids}{$pid} = $process;
$processes->{sources}($sport) = $pid; $processes->{sources}{$sport} = $pid;
$processes->{targets}{$tport} = $pid; $processes->{targets}{$tport} = $pid;
}; };
@ -420,7 +420,7 @@ sub set_ws_process
my $tport = $process->{tport}; my $tport = $process->{tport};
delete $processes->{pids}{$pid}; delete $processes->{pids}{$pid};
delete $processes->{sources}($sport); delete $processes->{sources}{$sport};
delete $processes->{targets}{$tport}; delete $processes->{targets}{$tport};
}; };

Loading…
Cancel
Save