projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
0f7a6d1
)
Remove special condition for block and version.
author
Brian Aker
<brian@tangent.org>
Sun, 13 Feb 2011 02:45:11 +0000
(18:45 -0800)
committer
Brian Aker
<brian@tangent.org>
Sun, 13 Feb 2011 02:45:11 +0000
(18:45 -0800)
libmemcached/version.c
patch
|
blob
|
history
diff --git
a/libmemcached/version.c
b/libmemcached/version.c
index 8fcc11a0fb6b95b2ed95eedd17a9a69735f768f3..cb8fa0e057f26a7edf4991d394da854ccffff2ec 100644
(file)
--- a/
libmemcached/version.c
+++ b/
libmemcached/version.c
@@
-13,18
+13,13
@@
memcached_return_t memcached_version(memcached_st *ptr)
if (ptr->flags.use_udp)
return MEMCACHED_NOT_SUPPORTED;
- bool was_blocking= ptr->flags.no_block;
memcached_return_t rc;
- ptr->flags.no_block= false;
-
if (ptr->flags.binary_protocol)
rc= memcached_version_binary(ptr);
else
rc= memcached_version_textual(ptr);
- ptr->flags.no_block= was_blocking;
-
return rc;
}