Skip to content

Commit

Permalink
inst->xlat_name not needed for debug messages in rlm_redis
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Jul 11, 2013
1 parent d6b4f43 commit 82961d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/rlm_redis/rlm_redis.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ int rlm_redis_query(REDISSOCK **dissocket_p, REDIS_INST *inst,

dissocket->reply = redisCommand(dissocket->conn, query);
if (!dissocket->reply) {
RERROR("Failed after re-connect", inst->xlat_name);
RERROR("Failed after re-connect");
fr_connection_del(inst->pool, dissocket);
goto error;
}
Expand All @@ -252,7 +252,7 @@ int rlm_redis_query(REDISSOCK **dissocket_p, REDIS_INST *inst,
}

if (dissocket->reply->type == REDIS_REPLY_ERROR) {
RERROR("Query failed, %s", inst->xlat_name, query);
RERROR("Query failed, %s", query);
return -1;
}

Expand Down

0 comments on commit 82961d7

Please sign in to comment.