projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge lp:~tangent-org/libmemcached/1.0-build Build: jenkins-Libmemcached-1.0-115
[m6w6/libmemcached]
/
libtest
/
memcached.cc
diff --git
a/libtest/memcached.cc
b/libtest/memcached.cc
index b59dc22fa03c7efed4658828aad5a1dc410b5b96..d2ce941ea54147a3cc1ea630f4c18bc5c4e91aae 100644
(file)
--- a/
libtest/memcached.cc
+++ b/
libtest/memcached.cc
@@
-89,7
+89,7
@@
public:
virtual const char *sasl() const
{
virtual const char *sasl() const
{
- return
NULL
;
+ return
"-S"
;
}
const std::string& password() const
}
const std::string& password() const
@@
-210,7
+210,7
@@
bool Memcached::build(size_t argc, const char *argv[])
add_option("-M");
#endif
add_option("-M");
#endif
- if (
sasl
())
+ if (
_username.size
())
{
add_option(sasl());
}
{
add_option(sasl());
}