From a6a5ee891df4f69c1a0ef42b74e892d17b4b71d7 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Fri, 25 Apr 2008 16:36:40 +0000 Subject: fix assert to be test instead of assignment git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@698 ef36b2f9-881f-0410-afb5-c4e39611909c --- tests/test_myldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_myldap.c') diff --git a/tests/test_myldap.c b/tests/test_myldap.c index 1e9f5da..045259a 100644 --- a/tests/test_myldap.c +++ b/tests/test_myldap.c @@ -323,7 +323,7 @@ static void *worker(void *arg) printf("test_myldap: test_threads(): [worker %d] ...\n",args->id); } printf("test_myldap: test_threads(): [worker %d] DONE: %s\n",args->id,ldap_err2string(rc)); - assert(rc=LDAP_SUCCESS); + assert(rc==LDAP_SUCCESS); /* clean up */ myldap_session_close(session); return 0; -- cgit v1.2.3