From: Andre Cruz Date: Mon, 8 Mar 2010 14:37:03 +0000 (+0000) Subject: Implement flag retrieval for new keepalive flag. X-Git-Tag: 0.40~16^2~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=226c5487c7e101b7b3606074b3b795eb547ebaa2;p=m6w6%2Flibmemcached Implement flag retrieval for new keepalive flag. --- 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 */