Fixed test in memcached_set_sasl_auth_data
authorTrond Norbye <trond.norbye@gmail.com>
Sat, 11 Sep 2010 10:56:27 +0000 (12:56 +0200)
committerTrond Norbye <trond.norbye@gmail.com>
Sat, 11 Sep 2010 10:56:27 +0000 (12:56 +0200)
libmemcached/sasl.c

index 85edeb3d18e3cbbe8e4fbc76f10c55eb86bfae1e..f2e346a6bbd36b810d8a48ffb8dca01fc8501936 100644 (file)
@@ -221,7 +221,7 @@ memcached_return_t memcached_set_sasl_auth_data(memcached_st *ptr,
                                                 const char *password)
 {
   if (ptr == NULL || username == NULL ||
-      password == NULL || ptr->sasl->callbacks != NULL)
+      password == NULL || ptr->sasl != NULL)
   {
     return MEMCACHED_FAILURE;
   }