X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fio.c;h=6aad480510f4ce5df02fab12273ca6220a1e4cc4;hb=02fa1c85c842e175225f74b0e213a5600d4c03cf;hp=3a523213357aaf3c15a7c7f29ac3d472630c992e;hpb=b2768ceafc13f9338e1c43d1bf0f1a65adb7e889;p=m6w6%2Flibmemcached diff --git a/libmemcached/io.c b/libmemcached/io.c index 3a523213..6aad4805 100644 --- a/libmemcached/io.c +++ b/libmemcached/io.c @@ -127,14 +127,14 @@ static bool process_input_buffer(memcached_server_instance_st *ptr) */ memcached_callback_st cb= *ptr->root->callbacks; - ptr->root->options.is_processing_input= true; + memcached_set_processing_input(ptr->root, true); char buffer[MEMCACHED_DEFAULT_COMMAND_SIZE]; memcached_return_t error; error= memcached_response(ptr, buffer, sizeof(buffer), &ptr->root->result); - ptr->root->options.is_processing_input = false; + memcached_set_processing_input(ptr->root, false); if (error == MEMCACHED_SUCCESS) {