mirror of
https://github.com/onyx-and-iris/vmrcli.git
synced 2025-01-18 08:41:08 +00:00
remove EOF check
This commit is contained in:
parent
cd11b26ad8
commit
9863ca6dca
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user