Merge pull request #324 from hiteki/hiteki_323

get_dcd responds without crashing #323
pull/345/head
Michael Black 2020-06-21 12:59:29 -05:00 zatwierdzone przez GitHub
commit e6b62e4f3e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -229,8 +229,8 @@ transaction_write:
#endif
/* Special case for SQuelch */
if (replystr && !memcmp(cmdstr, "SQ", 2) && (replystr[0] == '-'
|| replystr[0] == '+'))
if (replystr && !memcmp(cmdstr, "SQ", 2) && (data[0] == '-'
|| data[0] == '+'))
{
retval = RIG_OK;
goto transaction_quit;