X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=example%2Finterface_v0.c;h=74a98eaf896867d9aa73edba673ea5bdabae5855;hb=e8b6a3ed21315eccd4123c6eb4124fc9fbdacd36;hp=57459208dc8205f96b13c39aac1e06d46359b73a;hpb=542f2c25afc26ad057ee90a771f8f4766f968a35;p=m6w6%2Flibmemcached diff --git a/example/interface_v0.c b/example/interface_v0.c index 57459208..74a98eaf 100644 --- a/example/interface_v0.c +++ b/example/interface_v0.c @@ -7,9 +7,6 @@ #include "config.h" #include #include -#include -#include -#include #include #include #include @@ -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 */ - return PROTOCOL_BINARY_RESPONSE_EIO; + return PROTOCOL_BINARY_RESPONSE_EINTERNAL; } static protocol_binary_response_status get_command_handler(const void *cookie,