projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
bin: consolidate clients
[m6w6/libmemcached]
/
src
/
bin
/
memcp.cc
diff --git
a/src/bin/memcp.cc
b/src/bin/memcp.cc
index 713eb570e1eb75bc99b55f77cc1a620b6249a27d..e2dcccdc6a9bb3a60d9b8f6368aac1b33bd7e8b6 100644
(file)
--- a/
src/bin/memcp.cc
+++ b/
src/bin/memcp.cc
@@
-111,9
+111,9
@@
int main(int argc, char *argv[]) {
};
opt.add("udp", 'U', no_argument, "Use UDP.")
};
opt.add("udp", 'U', no_argument, "Use UDP.")
- .apply = [](const client_options &opt, const client_options::extended_option &ext, memcached_st *memc) {
+ .apply = [](const client_options &opt
_
, const client_options::extended_option &ext, memcached_st *memc) {
if (MEMCACHED_SUCCESS != memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_USE_UDP, ext.set)) {
if (MEMCACHED_SUCCESS != memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_USE_UDP, ext.set)) {
- if (!opt.isset("quiet")) {
+ if (!opt
_
.isset("quiet")) {
std::cerr << memcached_last_error_message(memc) << "\n";
}
return false;
std::cerr << memcached_last_error_message(memc) << "\n";
}
return false;