Don't try to send an empty method name
This commit is contained in:
parent
fdd447a7ea
commit
a24fa3e305
|
@ -494,6 +494,11 @@ process_input (struct app_context *ctx, char *user_input)
|
|||
char *p = input;
|
||||
while (*p && isspace_ascii (*p))
|
||||
p++;
|
||||
|
||||
// No input
|
||||
if (!*p)
|
||||
goto fail;
|
||||
|
||||
char *method = p;
|
||||
while (*p && !isspace_ascii (*p))
|
||||
p++;
|
||||
|
|
Loading…
Reference in New Issue