projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Small cleanup in string.h and converted result_st macro to inline.
[awesomized/libmemcached]
/
libmemcached
/
common.h
diff --git
a/libmemcached/common.h
b/libmemcached/common.h
index 6dc6936f8f7533a7a653f1e7360e1623508a23a6..895c5a403494e5ce2ba206cd4663f245cc11cbe6 100644
(file)
--- a/
libmemcached/common.h
+++ b/
libmemcached/common.h
@@
-172,7
+172,7
@@
static inline memcached_return_t memcached_validate_key_length(size_t key_length
on the system it returns false but sets errno to 0. Otherwise on
failure errno is set.
*/
on the system it returns false but sets errno to 0. Otherwise on
failure errno is set.
*/
-static inline memcached_ternary_t test_cork(memcached_server_st *ptr,
bool
enable)
+static inline memcached_ternary_t test_cork(memcached_server_st *ptr,
int
enable)
{
#ifdef CORK
if (ptr->type != MEMCACHED_CONNECTION_TCP)
{
#ifdef CORK
if (ptr->type != MEMCACHED_CONNECTION_TCP)