SCP: Fix help topic matching to properly return wildcard and ambiguous status
As reported in #723
This commit is contained in:
parent
2840e3b67f
commit
40731f0433
1 changed files with 1 additions and 1 deletions
2
scp.c
2
scp.c
|
@ -13568,7 +13568,7 @@ return SCPE_OK;
|
||||||
#define HLP_MATCH_AMBIGUOUS (~0u)
|
#define HLP_MATCH_AMBIGUOUS (~0u)
|
||||||
#define HLP_MATCH_WILDCARD (~1U)
|
#define HLP_MATCH_WILDCARD (~1U)
|
||||||
#define HLP_MATCH_NONE 0
|
#define HLP_MATCH_NONE 0
|
||||||
static int matchHelpTopicName (TOPIC *topic, const char *token)
|
static size_t matchHelpTopicName (TOPIC *topic, const char *token)
|
||||||
{
|
{
|
||||||
size_t i, match;
|
size_t i, match;
|
||||||
char cbuf[CBUFSIZE], *cptr;
|
char cbuf[CBUFSIZE], *cptr;
|
||||||
|
|
Loading…
Add table
Reference in a new issue