Browse Source

TT#14008 fix redis error messages

Change-Id: I7a57924eef1d584d65970f458415a3a76730ffd3
pull/1346/head
Richard Fuchs 4 years ago
parent
commit
875fc342b0
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      daemon/redis.c

+ 3
- 3
daemon/redis.c View File

@ -376,7 +376,7 @@ void on_redis_notification(redisAsyncContext *actx, void *reply, void *privdata)
if (IS_FOREIGN_CALL(c)) if (IS_FOREIGN_CALL(c))
call_destroy(c); call_destroy(c);
else { else {
rlog(LOG_WARN, "Redis-Notifier: Ignoring SET received for OWN call: %s\n", rr->element[2]->str);
rlog(LOG_WARN, "Redis-Notifier: Ignoring SET received for OWN call: " STR_FORMAT "\n", STR_FMT(&callid));
goto err; goto err;
} }
} }
@ -391,12 +391,12 @@ void on_redis_notification(redisAsyncContext *actx, void *reply, void *privdata)
if (strncmp(rr->element[3]->str,"del",3)==0) { if (strncmp(rr->element[3]->str,"del",3)==0) {
c = call_get(&callid); c = call_get(&callid);
if (!c) { if (!c) {
rlog(LOG_NOTICE, "Redis-Notifier: DEL did not find call with callid: %s\n", rr->element[2]->str);
rlog(LOG_NOTICE, "Redis-Notifier: DEL did not find call with callid: " STR_FORMAT "\n", STR_FMT(&callid));
goto err; goto err;
} }
rwlock_unlock_w(&c->master_lock); rwlock_unlock_w(&c->master_lock);
if (!IS_FOREIGN_CALL(c)) { if (!IS_FOREIGN_CALL(c)) {
rlog(LOG_WARN, "Redis-Notifier: Ignoring DEL received for an OWN call: %s\n", rr->element[2]->str);
rlog(LOG_WARN, "Redis-Notifier: Ignoring DEL received for an OWN call: " STR_FORMAT "\n", STR_FMT(&callid));
goto err; goto err;
} }
call_destroy(c); call_destroy(c);


Loading…
Cancel
Save