projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Modifying inline's
[m6w6/libmemcached]
/
libmemcached
/
hash.c
diff --git
a/libmemcached/hash.c
b/libmemcached/hash.c
index dbdcc7ded0f13f122ac42c96ec095092e7ce5b49..1c11c50de2c043bd6df6301945a11f5a3977a2ce 100644
(file)
--- a/
libmemcached/hash.c
+++ b/
libmemcached/hash.c
@@
-28,7
+28,6
@@
uint32_t generate_hash(memcached_st *ptr, const char *key, size_t key_length)
return 0;
hash= hashkit_digest(&ptr->hashkit, key, key_length);
return 0;
hash= hashkit_digest(&ptr->hashkit, key, key_length);
- WATCHPOINT_ASSERT(hash);
return hash;
}
return hash;
}
@@
-103,8
+102,6
@@
uint32_t memcached_generate_hash(memcached_st *ptr, const char *key, size_t key_
hash= generate_hash(ptr, key, key_length);
}
hash= generate_hash(ptr, key, key_length);
}
- WATCHPOINT_ASSERT(hash);
-
if (memcached_behavior_get(ptr, MEMCACHED_BEHAVIOR_AUTO_EJECT_HOSTS) && ptr->next_distribution_rebuild)
{
struct timeval now;
if (memcached_behavior_get(ptr, MEMCACHED_BEHAVIOR_AUTO_EJECT_HOSTS) && ptr->next_distribution_rebuild)
{
struct timeval now;