projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
00a6ef3
)
Fix for key return size.
author
Brian Aker
<brian@tangent.org>
Fri, 1 Apr 2011 16:33:42 +0000
(09:33 -0700)
committer
Brian Aker
<brian@tangent.org>
Fri, 1 Apr 2011 16:33:42 +0000
(09:33 -0700)
libmemcached/memcached.hpp
patch
|
blob
|
history
diff --git
a/libmemcached/memcached.hpp
b/libmemcached/memcached.hpp
index a83902622495994ed6beab230309023cd9678a2f..f9d5756cbac67150bc5335f5788c378e25f3df67 100644
(file)
--- a/
libmemcached/memcached.hpp
+++ b/
libmemcached/memcached.hpp
@@
-241,7
+241,7
@@
public:
{
ret_val.reserve(value_length);
ret_val.assign(value, value + value_length);
- key.assign(ret_key);
+ key.assign(ret_key
, key_length
);
free(value);
}
else if (value)