From 31c7441338b26c30b2186813ae661897b780fe83 Mon Sep 17 00:00:00 2001 From: c vw Date: Fri, 17 Jul 2020 12:23:26 +0200 Subject: [PATCH] corr. --- rigs/drake/drake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rigs/drake/drake.c b/rigs/drake/drake.c index d3159d918..0fc86fa0d 100644 --- a/rigs/drake/drake.c +++ b/rigs/drake/drake.c @@ -853,7 +853,7 @@ int drake_get_chan(RIG *rig, channel_t *chan, int read_only) strncpy(chan->channel_desc, mdbuf + 25, 7); - chan->channel_desc[8]='\0'; // in case strncpy did not terminate the string + chan->channel_desc[7]='\0'; // in case strncpy did not terminate the string //now put the radio back the way it was //we apparently can't do a read-only channel read