projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
NEw string type.
[m6w6/libmemcached]
/
lib
/
memcached_flush.c
diff --git
a/lib/memcached_flush.c
b/lib/memcached_flush.c
index 58372c6a84813b7762ec853424d6c8d5cd964461..a822f4ad64d05b07eb5b881c2c68f1112df59455 100644
(file)
--- a/
lib/memcached_flush.c
+++ b/
lib/memcached_flush.c
@@
-12,6
+12,7
@@
memcached_return memcached_flush(memcached_st *ptr, time_t expiration)
if (rc != MEMCACHED_SUCCESS)
rc= MEMCACHED_SOME_ERRORS;
if (rc != MEMCACHED_SUCCESS)
rc= MEMCACHED_SOME_ERRORS;
+ memset(buffer, 0, MEMCACHED_DEFAULT_COMMAND_SIZE);
for (x= 0; x < ptr->number_of_hosts; x++)
{
if (expiration)
for (x= 0; x < ptr->number_of_hosts; x++)
{
if (expiration)