mirror of https://mirror.osredm.com/root/redis.git
fix typo in config.c
This commit is contained in:
parent
63e41ee192
commit
e610dbce14
|
@ -120,7 +120,7 @@ const char *configEnumGetName(configEnum *ce, int val) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Wrapper for configEnumGetName() returning "unknown" insetad of NULL if
|
/* Wrapper for configEnumGetName() returning "unknown" instead of NULL if
|
||||||
* there is no match. */
|
* there is no match. */
|
||||||
const char *configEnumGetNameOrUnknown(configEnum *ce, int val) {
|
const char *configEnumGetNameOrUnknown(configEnum *ce, int val) {
|
||||||
const char *name = configEnumGetName(ce,val);
|
const char *name = configEnumGetName(ce,val);
|
||||||
|
|
Loading…
Reference in New Issue