]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Missed fr_connection_del -> fr_connection_close
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 27 Jun 2015 21:32:07 +0000 (17:32 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 27 Jun 2015 21:32:07 +0000 (17:32 -0400)
src/modules/rlm_redis/rlm_redis.c

index f8250c3ebe5f4e70f14eeb05961a2376884aaba0..993884c89574d78114cef58021780901e0faddd7 100644 (file)
@@ -237,7 +237,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");
-                       fr_connection_del(inst->pool, dissocket);
+                       fr_connection_close(inst->pool, dissocket);
                        goto error;
                }