summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2015-10-29 16:44:08 +1100
committerMartin Schwenke <martins@samba.org>2015-11-04 00:47:14 +0100
commit1c828b4ed6127e0022f4512f65a4b8c1280aa36a (patch)
treec6b3f4878cce748db2066fc90f62772343fb4c55 /source3
parente1fed53e2abafcae8a5da9a3b24ee8db38b97441 (diff)
downloadsamba-1c828b4ed6127e0022f4512f65a4b8c1280aa36a.tar.gz
ctdb-daemon: Rename struct ctdb_reply_control to ctdb_reply_control_old
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/ctdbd_conn.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index b9ca94779bd..3ddbf41e9a5 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -642,7 +642,7 @@ static int ctdbd_control(struct ctdbd_connection *conn,
{
struct ctdb_req_control_old req;
struct ctdb_req_header *hdr;
- struct ctdb_reply_control *reply = NULL;
+ struct ctdb_reply_control_old *reply = NULL;
struct iovec iov[2];
ssize_t nwritten;
int ret;
@@ -691,7 +691,7 @@ static int ctdbd_control(struct ctdbd_connection *conn,
TALLOC_FREE(hdr);
return EIO;
}
- reply = (struct ctdb_reply_control *)hdr;
+ reply = (struct ctdb_reply_control_old *)hdr;
if (outdata) {
if (!(outdata->dptr = (uint8_t *)talloc_memdup(
@@ -794,7 +794,7 @@ bool ctdb_processes_exist(struct ctdbd_connection *conn,
while (num_received < num_pids) {
struct ctdb_req_header *hdr;
- struct ctdb_reply_control *reply;
+ struct ctdb_reply_control_old *reply;
uint32_t reqid;
int ret;
@@ -809,7 +809,7 @@ bool ctdb_processes_exist(struct ctdbd_connection *conn,
DEBUG(10, ("Received invalid reply\n"));
goto fail;
}
- reply = (struct ctdb_reply_control *)hdr;
+ reply = (struct ctdb_reply_control_old *)hdr;
reqid = reply->hdr.reqid;