projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Update for release
[m6w6/libmemcached]
/
libmemcached
/
hash.cc
diff --git
a/libmemcached/hash.cc
b/libmemcached/hash.cc
index ae07dfd0ea466829df85e16d09633f7e8e53d4fc..8edd839db1a97fc47ed6df3e0db8e431ca17e08d 100644
(file)
--- a/
libmemcached/hash.cc
+++ b/
libmemcached/hash.cc
@@
-132,7
+132,7
@@
static inline void _regen_for_auto_eject(memcached_st *ptr)
{
struct timeval now;
- if (gettimeofday(&now, NULL) == 0
&&
+ if (gettimeofday(&now, NULL) == 0
and
now.tv_sec > ptr->ketama.next_distribution_rebuild)
{
run_distribution(ptr);