mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
ctdb: Remove an unnecessary cast
nl->srvid is uint64_t, as is the srvid parameter of ctdb_daemon_send_message() Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Wed Mar 13 08:43:16 UTC 2024 on atb-devel-224
This commit is contained in:
parent
8eaba9dbc5
commit
78208d4fe4
@ -2016,7 +2016,10 @@ static int ctdb_client_notify_destructor(struct ctdb_client_notify_list *nl)
|
||||
|
||||
DEBUG(DEBUG_ERR,("Sending client notify message for srvid:%llu\n", (unsigned long long)nl->srvid));
|
||||
|
||||
ret = ctdb_daemon_send_message(nl->ctdb, CTDB_BROADCAST_CONNECTED, (unsigned long long)nl->srvid, nl->data);
|
||||
ret = ctdb_daemon_send_message(nl->ctdb,
|
||||
CTDB_BROADCAST_CONNECTED,
|
||||
nl->srvid,
|
||||
nl->data);
|
||||
if (ret != 0) {
|
||||
DEBUG(DEBUG_ERR,("Failed to send client notify message\n"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user