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) {