mirror of
https://github.com/fluencelabs/redis
synced 2025-06-20 04:26:31 +00:00
@ -48,7 +48,7 @@
|
|||||||
int stringmatchlen(const char *pattern, int patternLen,
|
int stringmatchlen(const char *pattern, int patternLen,
|
||||||
const char *string, int stringLen, int nocase)
|
const char *string, int stringLen, int nocase)
|
||||||
{
|
{
|
||||||
while(patternLen) {
|
while(patternLen && stringLen) {
|
||||||
switch(pattern[0]) {
|
switch(pattern[0]) {
|
||||||
case '*':
|
case '*':
|
||||||
while (pattern[1] == '*') {
|
while (pattern[1] == '*') {
|
||||||
|
Reference in New Issue
Block a user