Skip to content

Commit 30f2ed3

Browse files
author
Fabian Schneider
committed
support redis-protocol uppercase
1 parent 45e88ec commit 30f2ed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class Config{
6060
}
6161

6262
static char* SetRedisConnectionType(cmd_parms *cmd, void *cfg, const char *arg){
63-
if(strcmp(arg, "unix"))
63+
if(strcmp(arg, "unix") || strcmp(arg, "UNIX") )
6464
redisProtocol = AF_UNIX;
6565
redisProtocol = AF_INET;
6666
return NULL;

0 commit comments

Comments
 (0)