From 226c5487c7e101b7b3606074b3b795eb547ebaa2 Mon Sep 17 00:00:00 2001 From: Andre Cruz Date: Mon, 8 Mar 2010 14:37:03 +0000 Subject: [PATCH] Implement flag retrieval for new keepalive flag. --- libmemcached/behavior.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libmemcached/behavior.c b/libmemcached/behavior.c index aa697cfe..e250241b 100644 --- a/libmemcached/behavior.c +++ b/libmemcached/behavior.c @@ -357,6 +357,8 @@ uint64_t memcached_behavior_get(memcached_st *ptr, return ptr->flags.randomize_replica_read; case MEMCACHED_BEHAVIOR_CORK: return ptr->flags.cork; + case MEMCACHED_BEHAVIOR_TCP_KEEPALIVE: + return ptr->flags.tcp_keepalive; case MEMCACHED_BEHAVIOR_MAX: default: WATCHPOINT_ASSERT(0); /* Programming mistake if it gets this far */ -- 2.30.2