projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
When returning CLIENT_ERROR do not close the socket connection (i.e. it should not...
[m6w6/libmemcached]
/
libmemcachedprotocol
/
binary_handler.c
diff --git
a/libmemcachedprotocol/binary_handler.c
b/libmemcachedprotocol/binary_handler.c
index d720424a9cc82aac7fc197ef01614809da60654f..851c87510581a20be01fec9738c75a8c75f22a1e 100644
(file)
--- a/
libmemcachedprotocol/binary_handler.c
+++ b/
libmemcachedprotocol/binary_handler.c
@@
-76,7
+76,7
@@
static protocol_binary_response_status raw_response_handler(const void *cookie,
return PROTOCOL_BINARY_RESPONSE_EINTERNAL;
}
return PROTOCOL_BINARY_RESPONSE_EINTERNAL;
}
- size_t len= sizeof(protocol_binary_response_header) + htonl(response->response.bodylen);
+ size_t len= sizeof(protocol_binary_response_header) +
memcached_
htonl(response->response.bodylen);
size_t offset= 0;
char *ptr= (void*)response;
size_t offset= 0;
char *ptr= (void*)response;