diff options
author | Robin Hack <hack.robin@gmail.com> | 2016-04-26 11:29:43 +0200 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2016-04-26 19:21:24 +0200 |
commit | 2a81893291c90342a594cf308768d6aefdd9fa9f (patch) | |
tree | a31dd17f5945163433f0cc6e8c9b08df399af1bb /ctdb/tests | |
parent | cce6b677ff90ef361c45a7b8ad3d482908c3c4a7 (diff) | |
download | samba-2a81893291c90342a594cf308768d6aefdd9fa9f.tar.gz |
ctdb-tests: Fix CID 1358704 use of "=" where "==" may have been intended
Signed-off-by: Robin Hack <hack.robin@gmail.com>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Uri Simchoni <uri@samba.org>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Tue Apr 26 19:21:24 CEST 2016 on sn-devel-144
Diffstat (limited to 'ctdb/tests')
-rw-r--r-- | ctdb/tests/src/db_hash_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/src/db_hash_test.c b/ctdb/tests/src/db_hash_test.c index 3627616313a..1f93743e000 100644 --- a/ctdb/tests/src/db_hash_test.c +++ b/ctdb/tests/src/db_hash_test.c @@ -64,7 +64,7 @@ static void do_test(enum db_hash_type type) assert(ret == 0); ret = db_hash_fetch(dh, key, sizeof(key), NULL, NULL); - assert(ret = EINVAL); + assert(ret == EINVAL); ret = db_hash_fetch(dh, key, sizeof(key), record_parser, &count); assert(ret == 0); |