Merge in updated yatl.
[m6w6/libmemcached] / libtest / memcached.cc
index c54c6b9048b68fd7344626b38da16e5f777ee09e..717ccb698499c550df8824f603d52d456142f2c3 100644 (file)
@@ -34,9 +34,9 @@
  *
  */
 
-#include "mem_config.h"
+#include "libtest/yatlcon.h"
 
-#include <libtest/common.h>
+#include "libtest/common.h"
 
 #include <cassert>
 #include <cerrno>
@@ -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());
   }