projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Remove mass calloc() on memcached_st creation.
[awesomized/libmemcached]
/
libmemcached
/
string.h
diff --git
a/libmemcached/string.h
b/libmemcached/string.h
index 39a8677364b92f530b071e2e9bacd0c3eeb5e7dd..4fc67cfcee859e561f773297ea800041f737a9cb 100644
(file)
--- a/
libmemcached/string.h
+++ b/
libmemcached/string.h
@@
-27,10
+27,10
@@
extern "C" {
*/
struct memcached_string_st {
- memcached_st *root;
char *end;
char *string;
size_t current_size;
+ const memcached_st *root;
struct {
bool is_allocated:1;
bool is_initialized:1;