Fixed regression recently introduced in string compare macro MATCH_CMD
This commit is contained in:
parent
3eb373a71e
commit
e7032c6bd5
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ typedef uint32 t_addr;
|
||||||
|
|
||||||
/* String match - at least one character required */
|
/* String match - at least one character required */
|
||||||
|
|
||||||
#define MATCH_CMD(ptr,cmd) ((!*(ptr)) || strncmp ((ptr), (cmd), strlen (ptr)))
|
#define MATCH_CMD(ptr,cmd) ((!(ptr)) || (!*(ptr)) || strncmp ((ptr), (cmd), strlen (ptr)))
|
||||||
|
|
||||||
/* End of Linked List/Queue value */
|
/* End of Linked List/Queue value */
|
||||||
/* Chosen for 2 reasons: */
|
/* Chosen for 2 reasons: */
|
||||||
|
|
Loading…
Add table
Reference in a new issue