From b2b438f0038abab427ac5c870a5864934e83cd33 Mon Sep 17 00:00:00 2001 From: Phil Taylor Date: Sat, 7 Aug 2021 11:20:36 +0100 Subject: [PATCH] Update rigctld.cpp --- rigctld.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rigctld.cpp b/rigctld.cpp index ae8d72d..d9cd891 100644 --- a/rigctld.cpp +++ b/rigctld.cpp @@ -287,7 +287,7 @@ void rigCtlClient::socketReadyRead() responseCode = -1; } } - else if (command.length() > 1 & (command[0] == "T" || command[0] == "set_ptt")) + else if (command.length() > 1 && (command[0] == "T" || command[0] == "set_ptt")) { setCommand = true; if (rigCaps.hasPTTCommand) {