Bug 32537: (QA follow-up): Tidy code
authorKyle Hall <kyle@bywatersolutions.com>
Tue, 3 Jan 2023 13:14:50 +0000 (08:14 -0500)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 14 Feb 2023 22:02:46 +0000 (22:02 +0000)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 2570062d25621d134700eb4f174b44bd93d43799)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
(cherry picked from commit 2b7d64755324b5a1457916f396e59fdfdef70a75)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
misc/sip_cli_emulator.pl

index 64948a3..60bba20 100755 (executable)
@@ -103,9 +103,8 @@ if (   $help
     exit();
 }
 
-$no_block = $no_block eq 'Y' ? 'Y' : 'N';
-
-$terminator = ( $terminator eq 'CR' ) ? $CR : $CRLF;
+$no_block   = $no_block eq 'Y'    ? 'Y' : 'N';
+$terminator = $terminator eq 'CR' ? $CR : $CRLF;
 
 # Set perl to expect the same record terminator it is sending
 $/ = $terminator;