diff options
author | Amitay Isaacs <amitay@gmail.com> | 2014-03-27 15:07:58 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2014-03-28 07:56:18 +0100 |
commit | 533ad246443bbea5116c06fb6478453ddf004080 (patch) | |
tree | d8fd0f62242cfb60b788210176b7c9a81c7c54f4 | |
parent | 30f7d7db8c0bf370464238133f75b5e0bdce37c6 (diff) | |
download | samba-533ad246443bbea5116c06fb6478453ddf004080.tar.gz samba-533ad246443bbea5116c06fb6478453ddf004080.tar.xz samba-533ad246443bbea5116c06fb6478453ddf004080.zip |
ctdb-tests: Do not mix bool and int data types
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Mar 28 07:56:18 CET 2014 on sn-devel-104
-rw-r--r-- | ctdb/tests/src/ctdb_fetch_readonly_loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/src/ctdb_fetch_readonly_loop.c b/ctdb/tests/src/ctdb_fetch_readonly_loop.c index 5944fb7bdbb..bd171f5a3c0 100644 --- a/ctdb/tests/src/ctdb_fetch_readonly_loop.c +++ b/ctdb/tests/src/ctdb_fetch_readonly_loop.c @@ -45,7 +45,7 @@ static void fetch_lock_once(struct ctdb_context *ctdb, struct event_context *ev) // printf("Trying to fetch lock the record ...\n"); - h = ctdb_fetch_readonly_lock(ctdb_db, tmp_ctx, key, &data, true); + h = ctdb_fetch_readonly_lock(ctdb_db, tmp_ctx, key, &data, 1); if (h == NULL) { printf("Failed to fetch record '%s' on node %d\n", (const char *)key.dptr, ctdb_get_pnn(ctdb)); |