projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge from Mike Tsai
[m6w6/libmemcached]
/
example
/
interface_v1.c
diff --git
a/example/interface_v1.c
b/example/interface_v1.c
index bab1cd974f9e303826b610ec0b8d3212307490ab..3de38542100412ce9f49a26a5858bc38841ced7c 100644
(file)
--- a/
example/interface_v1.c
+++ b/
example/interface_v1.c
@@
-8,6
+8,7
@@
* you will not receive the next command before a answer to the previous
* command is being sent.
*/
* you will not receive the next command before a answer to the previous
* command is being sent.
*/
+#include "config.h"
#include <assert.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/socket.h>
@@
-391,7
+392,7
@@
static protocol_binary_response_status version_handler(const void *cookie,
return response_handler(cookie, version, (uint32_t)strlen(version));
}
return response_handler(cookie, version, (uint32_t)strlen(version));
}
-
struct
memcached_binary_protocol_callback_st interface_v1_impl= {
+memcached_binary_protocol_callback_st interface_v1_impl= {
.interface_version= 1,
.interface.v1= {
.add= add_handler,
.interface_version= 1,
.interface.v1= {
.add= add_handler,