projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
memcap works, though it does nothing useful at the moment :)
[m6w6/libmemcached]
/
lib
/
memcached_storage.c
diff --git
a/lib/memcached_storage.c
b/lib/memcached_storage.c
index da5a9ac6419449ffb181e094f3b378a00eb83fd5..c1ce2b830ad4c485776e5fb7e337eac7e09302c4 100644
(file)
--- a/
lib/memcached_storage.c
+++ b/
lib/memcached_storage.c
@@
-25,6
+25,8
@@
static memcached_return memcached_send(memcached_st *ptr,
assert(value);
assert(value_length);
+ memset(buffer, 0, MEMCACHED_DEFAULT_COMMAND_SIZE);
+
rc= memcached_connect(ptr);
if (rc != MEMCACHED_SUCCESS)
return rc;