/*
* Packet handler to receive and handle a ctdb message
*/
-static int ctdb_handle_message(struct ctdbd_connection *conn,
+static int ctdb_handle_message(struct tevent_context *ev,
+ struct ctdbd_connection *conn,
struct ctdb_req_header *hdr)
{
struct ctdb_req_message_old *msg;
msg = (struct ctdb_req_message_old *)hdr;
- ctdbd_msg_call_back(NULL, conn, msg);
+ ctdbd_msg_call_back(ev, conn, msg);
return 0;
}
cluster_fatal("ctdbd died\n");
}
- ret = ctdb_handle_message(conn, hdr);
+ ret = ctdb_handle_message(NULL, conn, hdr);
TALLOC_FREE(hdr);