diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2008-04-25 18:36:40 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2008-04-25 18:36:40 +0200 |
commit | a6a5ee891df4f69c1a0ef42b74e892d17b4b71d7 (patch) | |
tree | ec619c415ceb27e723ba8ec78fd0883be4d00b09 /tests/test_myldap.c | |
parent | 2a743814acac368dd09ea0e222e5dcd16b72af57 (diff) |
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
Diffstat (limited to 'tests/test_myldap.c')
-rw-r--r-- | tests/test_myldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |