mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
s3:lib: s/event_add_fd/tevent_add_fd and s/EVENT_FD_/TEVENT_FD_
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
parent
abf8e166b8
commit
cdb97fd9ec
@ -721,9 +721,9 @@ NTSTATUS ctdbd_register_msg_ctx(struct ctdbd_connection *conn,
|
||||
SMB_ASSERT(conn->msg_ctx == NULL);
|
||||
SMB_ASSERT(conn->fde == NULL);
|
||||
|
||||
if (!(conn->fde = event_add_fd(msg_ctx->event_ctx, conn,
|
||||
if (!(conn->fde = tevent_add_fd(msg_ctx->event_ctx, conn,
|
||||
ctdb_packet_get_fd(conn->pkt),
|
||||
EVENT_FD_READ,
|
||||
TEVENT_FD_READ,
|
||||
ctdbd_socket_handler,
|
||||
conn))) {
|
||||
DEBUG(0, ("event_add_fd failed\n"));
|
||||
|
Loading…
Reference in New Issue
Block a user