From 0607b187f3c7f6289c669f7a2aee117171143db5 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 8 Oct 2013 15:30:44 +0200 Subject: s3:ctdbd_conn: always provide ctdb_serverids_exist() Signed-off-by: Stefan Metzmacher Reviewed-by: Michael Adam --- source3/lib/ctdbd_conn.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3') diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index 2d2804a7a6..efe4e529b6 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -1154,12 +1154,13 @@ bool ctdb_serverids_exist_supported(struct ctdbd_connection *conn) #endif /* HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL */ } -#ifdef HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL - bool ctdb_serverids_exist(struct ctdbd_connection *conn, const struct server_id *pids, unsigned num_pids, bool *results) { +#ifndef HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL + return false; +#else /* HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL */ unsigned i, num_received; NTSTATUS status; struct ctdb_vnn_list *vnns = NULL; @@ -1305,9 +1306,8 @@ bool ctdb_serverids_exist(struct ctdbd_connection *conn, fail: TALLOC_FREE(vnns); return result; -} - #endif /* HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL */ +} /* * Get a db path -- cgit