projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Additional flag removal.
[m6w6/libmemcached]
/
libmemcached
/
memcached_io.c
diff --git
a/libmemcached/memcached_io.c
b/libmemcached/memcached_io.c
index 693ce95c54ddc052642acc7fd98137c54fb8ebbc..c74e2cdf4adc75e0a2808def9e8c189e62655b31 100644
(file)
--- a/
libmemcached/memcached_io.c
+++ b/
libmemcached/memcached_io.c
@@
-43,7
+43,7
@@
static memcached_return io_wait(memcached_server_st *ptr,
}
int timeout= ptr->root->poll_timeout;
}
int timeout= ptr->root->poll_timeout;
- if (
(ptr->root->flags & MEM_NO_BLOCK) == 0
)
+ if (
ptr->root->flags.no_block == false
)
timeout= -1;
error= poll(&fds, 1, timeout);
timeout= -1;
error= poll(&fds, 1, timeout);
@@
-112,7
+112,7
@@
static bool process_input_buffer(memcached_server_st *ptr)
** We might be able to process some of the response messages if we
** have a callback set up
*/
** We might be able to process some of the response messages if we
** have a callback set up
*/
- if (ptr->root->callbacks != NULL &&
(ptr->root->flags & MEM_USE_UDP) == 0
)
+ if (ptr->root->callbacks != NULL &&
ptr->root->flags.use_udp == false
)
{
/*
* We might have responses... try to read them out and fire
{
/*
* We might have responses... try to read them out and fire