mirror of https://mirror.osredm.com/root/redis.git
parent
11d399dded
commit
c710d4afdc
|
@ -48,7 +48,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