From 34e1545e2bdf048cb1634cdcbdbe3b4fb80c2416 Mon Sep 17 00:00:00 2001 From: Trond Norbye Date: Sat, 11 Sep 2010 12:56:27 +0200 Subject: [PATCH] Fixed test in memcached_set_sasl_auth_data --- libmemcached/sasl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmemcached/sasl.c b/libmemcached/sasl.c index 85edeb3d..f2e346a6 100644 --- a/libmemcached/sasl.c +++ b/libmemcached/sasl.c @@ -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; } -- 2.30.2