s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_tcon.c
authorStefan Metzmacher <metze@samba.org>
Mon, 14 May 2012 07:55:42 +0000 (09:55 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 14 May 2012 13:12:34 +0000 (15:12 +0200)
metze

source3/libsmb/smb2cli_tcon.c

index 7071a661961cab5665c2882a72130732cf64663d..8aa2a31296d0a69e0fc390054a0723d182c206cc 100644 (file)
@@ -141,7 +141,7 @@ NTSTATUS smb2cli_tcon_recv(struct tevent_req *req)
 NTSTATUS smb2cli_tcon(struct cli_state *cli, const char *share)
 {
        TALLOC_CTX *frame = talloc_stackframe();
-       struct event_context *ev;
+       struct tevent_context *ev;
        struct tevent_req *req;
        NTSTATUS status = NT_STATUS_NO_MEMORY;
 
@@ -152,7 +152,7 @@ NTSTATUS smb2cli_tcon(struct cli_state *cli, const char *share)
                status = NT_STATUS_INVALID_PARAMETER;
                goto fail;
        }
-       ev = event_context_init(frame);
+       ev = tevent_context_init(frame);
        if (ev == NULL) {
                goto fail;
        }
@@ -240,7 +240,7 @@ NTSTATUS smb2cli_tdis_recv(struct tevent_req *req)
 NTSTATUS smb2cli_tdis(struct cli_state *cli)
 {
        TALLOC_CTX *frame = talloc_stackframe();
-       struct event_context *ev;
+       struct tevent_context *ev;
        struct tevent_req *req;
        NTSTATUS status = NT_STATUS_NO_MEMORY;
 
@@ -251,7 +251,7 @@ NTSTATUS smb2cli_tdis(struct cli_state *cli)
                status = NT_STATUS_INVALID_PARAMETER;
                goto fail;
        }
-       ev = event_context_init(frame);
+       ev = tevent_context_init(frame);
        if (ev == NULL) {
                goto fail;
        }