]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
missing single quotes
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Wed, 12 Jan 2022 06:15:43 +0000 (11:45 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Wed, 12 Jan 2022 06:15:43 +0000 (11:45 +0530)
rigctl.c

index 0ff553b4222e41b34a38efd2c83fccb26da21d5a..6e964557243e146eb4a62e0d69b9659278890489 100644 (file)
--- a/rigctl.c
+++ b/rigctl.c
@@ -1819,7 +1819,7 @@ gboolean parse_extended_cmd(char *command, CLIENT *client) {
     case 'G': // ZZMG
         // set/read mic gain
         if (command[4] == ';') {
-            memset(reply, \0, 9);
+            memset(reply, '\0', 9);
             sprintf(reply, "ZZMG%03d;", (int)(((mic_gain + 12.0) / 72.0) * 100.0));
             send_resp(client->fd, reply);
         } else if (command[7] == ';') {