diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/smbsock_connect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/smbsock_connect.c b/source3/libsmb/smbsock_connect.c index 3a228b1b9e..7f365d4e44 100644 --- a/source3/libsmb/smbsock_connect.c +++ b/source3/libsmb/smbsock_connect.c @@ -373,11 +373,11 @@ NTSTATUS smbsock_connect(const struct sockaddr_storage *addr, uint16_t port, int *pfd, uint16_t *ret_port, int sec_timeout) { TALLOC_CTX *frame = talloc_stackframe(); - struct event_context *ev; + struct tevent_context *ev; struct tevent_req *req; NTSTATUS status = NT_STATUS_NO_MEMORY; - ev = event_context_init(frame); + ev = tevent_context_init(frame); if (ev == NULL) { goto fail; } |