Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If the query is empty the first call to strcasechr() in min_match() will try to find a NUL-byte in all choices which it never will due to loop condition `choice[i] != '\0'`. Therefore, add a missing NUL-check just like in the loop below. This should speed up startup time.
- Loading branch information