projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Make sure query_id is allocated correctly.
[m6w6/libmemcached]
/
example
/
interface_v0.c
diff --git
a/example/interface_v0.c
b/example/interface_v0.c
index 57459208dc8205f96b13c39aac1e06d46359b73a..74a98eaf896867d9aa73edba673ea5bdabae5855 100644
(file)
--- a/
example/interface_v0.c
+++ b/
example/interface_v0.c
@@
-7,9
+7,6
@@
#include "config.h"
#include <assert.h>
#include <sys/types.h>
#include "config.h"
#include <assert.h>
#include <sys/types.h>
-#include <sys/socket.h>
-#include <netdb.h>
-#include <netinet/tcp.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
@@
-55,7
+52,7
@@
static protocol_binary_response_status quit_command_handler(const void *cookie,
response_handler(cookie, header, (void*)&response);
/* I need a better way to signal to close the connection */
response_handler(cookie, header, (void*)&response);
/* I need a better way to signal to close the connection */
- return PROTOCOL_BINARY_RESPONSE_EI
O
;
+ return PROTOCOL_BINARY_RESPONSE_EI
NTERNAL
;
}
static protocol_binary_response_status get_command_handler(const void *cookie,
}
static protocol_binary_response_status get_command_handler(const void *cookie,