diff --git a/rigctld.cpp b/rigctld.cpp index 27dd6c3..fee26c3 100644 --- a/rigctld.cpp +++ b/rigctld.cpp @@ -465,7 +465,7 @@ void rigCtlClient::socketReadyRead() } response.append(resp); } - else if (command.length() > 1 && command[0] == "I" || command[0] == "set_split_freq") + else if (command.length() > 1 && (command[0] == "I" || command[0] == "set_split_freq")) { setCommand = true; freqt freq; @@ -1395,4 +1395,4 @@ int rigCtlClient::getCalibratedValue(unsigned char meter,cal_table_t cal) { / (cal.table[i].raw - cal.table[i - 1].raw); return cal.table[i].val - interp; -} \ No newline at end of file +}