summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/src
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2013-08-27 14:46:08 +1000
committerAmitay Isaacs <amitay@gmail.com>2013-10-04 15:15:35 +1000
commit2b68d143cbb779206a9afe10e3d182a60427654b (patch)
treee3b8858593afcb32ef3fdef4578eac7d7d4987dd /ctdb/tests/src
parentd4643abe885b221df306605bb78eeed8cf16225b (diff)
downloadsamba-2b68d143cbb779206a9afe10e3d182a60427654b.tar.gz
samba-2b68d143cbb779206a9afe10e3d182a60427654b.tar.xz
samba-2b68d143cbb779206a9afe10e3d182a60427654b.zip
tools/ctdb: Pass memory context for returning nodes in parse_nodestring
Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 1585a8e275b0143e5e46311b3d5e9785119f735f)
Diffstat (limited to 'ctdb/tests/src')
-rw-r--r--ctdb/tests/src/ctdb_tool_libctdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/src/ctdb_tool_libctdb.c b/ctdb/tests/src/ctdb_tool_libctdb.c
index e7e191a1ba..7b6e6ca273 100644
--- a/ctdb/tests/src/ctdb_tool_libctdb.c
+++ b/ctdb/tests/src/ctdb_tool_libctdb.c
@@ -146,7 +146,7 @@ static void test_parse_nodestring(const char *nodestring_s,
libctdb_test_read_nodemap(ctdb);
- if (parse_nodestring(NULL, nodestring, CTDB_CURRENT_NODE, dd_ok,
+ if (parse_nodestring(NULL, NULL, nodestring, CTDB_CURRENT_NODE, dd_ok,
&nodes, &pnn_mode)) {
print_nodes(nodes, pnn_mode);
}