projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Updated return code from memcached_response to send proper return to
[awesomized/libmemcached]
/
src
/
memstat.c
diff --git
a/src/memstat.c
b/src/memstat.c
index 40aade209435daa74e62e3845d5948e6b3cbf4eb..6b7f0ae52770e05cec8b6b1b0fa7fecde05a6d0d 100644
(file)
--- a/
src/memstat.c
+++ b/
src/memstat.c
@@
-50,7
+50,7
@@
int main(int argc, char *argv[])
stat= memcached_stat(memc, NULL, &rc);
- if (rc != MEMCACHED_SUCCESS && rc
=
= MEMCACHED_SOME_ERRORS)
+ if (rc != MEMCACHED_SUCCESS && rc
!
= MEMCACHED_SOME_ERRORS)
{
printf("Failure to communicate with servers (%s)\n",
memcached_strerror(memc, rc));