projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Make sure we use the correct strerror() in case someone is using threads.
[awesomized/libmemcached]
/
libmemcached
/
response.cc
diff --git
a/libmemcached/response.cc
b/libmemcached/response.cc
index e94ca31fffcca9c4ff675bd0d8e4d1af861af6d7..ff1d77b1bd7954a4f69bf7c7b0d603baccf138c4 100644
(file)
--- a/
libmemcached/response.cc
+++ b/
libmemcached/response.cc
@@
-62,9
+62,9
@@
memcached_return_t memcached_read_one_response(memcached_server_write_instance_s
else
rc= textual_read_one_response(ptr, buffer, buffer_length, result);
else
rc= textual_read_one_response(ptr, buffer, buffer_length, result);
- unlikely(rc == MEMCACHED_UNKNOWN_READ_FAILURE
||
- rc == MEMCACHED_PROTOCOL_ERROR
||
- rc == MEMCACHED_CLIENT_ERROR
||
+ unlikely(rc == MEMCACHED_UNKNOWN_READ_FAILURE
or
+ rc == MEMCACHED_PROTOCOL_ERROR
or
+ rc == MEMCACHED_CLIENT_ERROR
or
rc == MEMCACHED_MEMORY_ALLOCATION_FAILURE)
memcached_io_reset(ptr);
rc == MEMCACHED_MEMORY_ALLOCATION_FAILURE)
memcached_io_reset(ptr);