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