From: Trond Norbye Date: Sat, 11 Sep 2010 10:56:27 +0000 (+0200) Subject: Fixed test in memcached_set_sasl_auth_data X-Git-Tag: 0.44~2^2~6 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=34e1545e2bdf048cb1634cdcbdbe3b4fb80c2416;p=m6w6%2Flibmemcached Fixed test in memcached_set_sasl_auth_data --- 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; }