From 48241f52d0411ea2d5128ebcb65dcc23b98f9fe2 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Tue, 27 Sep 2022 23:11:53 -0500 Subject: [PATCH] Update simft818.c --- simulators/simft818.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/simulators/simft818.c b/simulators/simft818.c index 198e57937..f610801e3 100644 --- a/simulators/simft818.c +++ b/simulators/simft818.c @@ -109,11 +109,12 @@ int main(int argc, char *argv[]) while (1) { + buf[0] = 0; if (getmyline(fd, buf)) { printf("Cmd:%s\n", buf); } - else { return 0; } + //else { return 0; } if (strcmp(buf, "RM5;") == 0) {