projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
029bdf1
)
Fixed retrieval of io-watermarks
author
Trond Norbye
<trond.norbye@sun.com>
Wed, 25 Feb 2009 10:13:26 +0000
(11:13 +0100)
committer
Trond Norbye
<trond.norbye@sun.com>
Wed, 25 Feb 2009 10:13:26 +0000
(11:13 +0100)
libmemcached/memcached_behavior.c
patch
|
blob
|
history
diff --git
a/libmemcached/memcached_behavior.c
b/libmemcached/memcached_behavior.c
index 5a992b42b8780e7d7c5ab9b9a32d7fe88f8cc7b2..f23415507ced1525fa99f3bea346e88ae2db258e 100644
(file)
--- a/
libmemcached/memcached_behavior.c
+++ b/
libmemcached/memcached_behavior.c
@@
-152,11
+152,9
@@
uint64_t memcached_behavior_get(memcached_st *ptr,
switch (flag)
{
case MEMCACHED_BEHAVIOR_IO_MSG_WATERMARK:
- temp_flag = ptr->io_msg_watermark;
- break;
+ return ptr->io_msg_watermark;
case MEMCACHED_BEHAVIOR_IO_BYTES_WATERMARK:
- temp_flag = ptr->io_bytes_watermark;
- break;
+ return ptr->io_bytes_watermark;
case MEMCACHED_BEHAVIOR_BINARY_PROTOCOL:
temp_flag= MEM_BINARY_PROTOCOL;
break;