Browse Source

* backend/redis : fix option check

master
Alex 'AdUser' Z 3 years ago
parent
commit
edba9483c5
  1. 2
      src/backends/redis.c

2
src/backends/redis.c

@ -129,7 +129,7 @@ config(cfg_t *cfg, const char *key, const char *value) {
return true;
}
if (strcmp(key, "shared") == 0) {
cfg->shared = (strcmp(value, "yes") ? true : false);
cfg->shared = (strcmp(value, "yes") == 0 ? true : false);
return true;
}
if (strcmp(key, "host") == 0) {

Loading…
Cancel
Save