From: DL1YCF Date: Sat, 10 Oct 2020 16:33:35 +0000 (+0200) Subject: Corrected error that flagged a compiler warning. X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/file/readonly?a=commitdiff_plain;h=4fba2f50c3b647738f95759ac4b95781ccd3c82d;p=pihpsdr.git Corrected error that flagged a compiler warning. --- diff --git a/rigctl.c b/rigctl.c index a1aab4a..46c5ac5 100644 --- a/rigctl.c +++ b/rigctl.c @@ -3341,7 +3341,7 @@ int parse_cmd(void *data) { case 'A': //SA // set/read stallite mode status if(command[2]==';') { - sprintf(reply,"SA%d%d%d%d%d%d%dSAT? ;",sat_mode==SAT_MODE|sat_mode==RSAT_MODE,0,0,0,sat_mode=SAT_MODE,sat_mode=RSAT_MODE,0); + sprintf(reply,"SA%d%d%d%d%d%d%dSAT? ;",sat_mode==SAT_MODE|sat_mode==RSAT_MODE,0,0,0,sat_mode==SAT_MODE,sat_mode==RSAT_MODE,0); send_resp(client->fd,reply); } else if(command[9]==';') { if(command[2]=='0') {