projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9514f0
)
missing single quotes
author
Ramakrishnan Muthukrishnan
<ram@rkrishnan.org>
Wed, 12 Jan 2022 06:15:43 +0000
(11:45 +0530)
committer
Ramakrishnan Muthukrishnan
<ram@rkrishnan.org>
Wed, 12 Jan 2022 06:15:43 +0000
(11:45 +0530)
rigctl.c
patch
|
blob
|
history
diff --git
a/rigctl.c
b/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] == ';') {