mirror of
http://github.com/valkey-io/valkey
synced 2024-11-21 16:46:15 +00:00
parent
97192e2d88
commit
49d9f4116b
@ -47,7 +47,7 @@
|
||||
int stringmatchlen(const char *pattern, int patternLen,
|
||||
const char *string, int stringLen, int nocase)
|
||||
{
|
||||
while(patternLen) {
|
||||
while(patternLen && stringLen) {
|
||||
switch(pattern[0]) {
|
||||
case '*':
|
||||
while (pattern[1] == '*') {
|
||||
|
Loading…
Reference in New Issue
Block a user