From f08250eb55930bd8613c7ebe1a0de2fb0ccbff30 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 3 May 2011 19:11:38 +1000 Subject: s3-ctdb Fix duplicate function name due to packet -> ctdb_packet rename. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Günther Deschner --- source3/lib/ctdb_packet.c | 2 +- source3/lib/ctdbd_conn.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/ctdb_packet.c b/source3/lib/ctdb_packet.c index 772fcec421..03be372f19 100644 --- a/source3/lib/ctdb_packet.c +++ b/source3/lib/ctdb_packet.c @@ -105,7 +105,7 @@ NTSTATUS ctdb_packet_fd_read(struct ctdb_packet_context *ctx) return NT_STATUS_OK; } -NTSTATUS ctdb_packet_fd_read_sync(struct ctdb_packet_context *ctx, int timeout) +NTSTATUS ctdb_packet_fd_read_sync_timeout(struct ctdb_packet_context *ctx, int timeout) { int res, revents; diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index 0b053ecb70..9c353baba4 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -336,7 +336,7 @@ static NTSTATUS ctdb_packet_fd_read_sync(struct ctdb_packet_context *ctx) if (timeout == 0) { timeout = -1; } - return ctdb_packet_fd_read_sync(ctx, timeout); + return ctdb_packet_fd_read_sync_timeout(ctx, timeout); } /* -- cgit