mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
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…
x
Reference in New Issue
Block a user