Browse Source

redis/2 module is now incompatible

git.mgm/mediaproxy-ng/github/master
Richard Fuchs 13 years ago
parent
commit
a923a52a60
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/main.c

+ 1
- 1
daemon/main.c View File

@ -452,7 +452,7 @@ void create_everything(struct main_context *ctx) {
if (!dlh)
die("Failed to open redis plugin, aborting (%s)\n", dlerror());
strp = dlsym(dlh, "__module_version");
if (!strp || !*strp || strcmp(*strp, "redis/2"))
if (!strp || !*strp || strcmp(*strp, "redis/3"))
die("Incorrect redis module version: %s\n", *strp);
redis_mod_verify(dlh);
mc.redis = redis_new(redis_ip, redis_port, redis_db);


Loading…
Cancel
Save