From 9863ca6dca98798629041a9e865013d28148ffb6 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Wed, 26 Jun 2024 20:17:33 +0100 Subject: [PATCH] remove EOF check --- src/vmrcli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vmrcli.c b/src/vmrcli.c index 0e258ee..fa43b6b 100644 --- a/src/vmrcli.c +++ b/src/vmrcli.c @@ -177,7 +177,7 @@ void interactive(T_VBVMR_INTERFACE *vmr) char command[MAX_LINE]; int i = 0; - while (!isspace(*p) && *p != EOF) + while (!isspace(*p)) command[i++] = *p++; command[i] = '\0'; p++; /* shift to next char */