projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Merge Thomason's cork patch.
[awesomized/libmemcached]
/
libmemcached
/
connect.c
diff --git
a/libmemcached/connect.c
b/libmemcached/connect.c
index 36971f60aa9c86e4a19d4bf8e42bc85a47ea1aa3..6d08eb709065f35b02303e209ac666316a8e7950 100644
(file)
--- a/
libmemcached/connect.c
+++ b/
libmemcached/connect.c
@@
-111,7
+111,7
@@
static memcached_return_t set_socket_options(memcached_server_st *ptr)
return MEMCACHED_FAILURE;
}
- if (ptr->root->send_size)
+ if (ptr->root->send_size
> 0
)
{
int error;
@@
-122,7
+122,7
@@
static memcached_return_t set_socket_options(memcached_server_st *ptr)
return MEMCACHED_FAILURE;
}
- if (ptr->root->recv_size)
+ if (ptr->root->recv_size
> 0
)
{
int error;