X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fmemcached.cc;h=717ccb698499c550df8824f603d52d456142f2c3;hb=bcc7e71dd0d2c7d875ddb3583fd5ab2585304642;hp=c54c6b9048b68fd7344626b38da16e5f777ee09e;hpb=65b7303ef858d676779e2f97c0ae381a188c76c8;p=m6w6%2Flibmemcached diff --git a/libtest/memcached.cc b/libtest/memcached.cc index c54c6b90..717ccb69 100644 --- a/libtest/memcached.cc +++ b/libtest/memcached.cc @@ -34,9 +34,9 @@ * */ -#include "mem_config.h" +#include "libtest/yatlcon.h" -#include +#include "libtest/common.h" #include #include @@ -86,7 +86,7 @@ public: virtual const char *sasl() const { - return "-S"; + return NULL; } const std::string& password() const @@ -207,7 +207,7 @@ bool Memcached::build(size_t argc, const char *argv[]) add_option("-M"); #endif - if (_username.size()) + if (sasl()) { add_option(sasl()); }