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

source3/libsmb/smb2cli_read.c

index 8f3362a4ab22c4efa7d354ae881812f7fdc072b0..c5e40b7c57a4bcb44f326c00942e907370a842d4 100644 (file)
@@ -156,7 +156,7 @@ NTSTATUS smb2cli_read(struct smbXcli_conn *conn,
                      uint32_t *data_length)
 {
        TALLOC_CTX *frame = talloc_stackframe();
-       struct event_context *ev;
+       struct tevent_context *ev;
        struct tevent_req *req;
        NTSTATUS status = NT_STATUS_NO_MEMORY;
 
@@ -167,7 +167,7 @@ NTSTATUS smb2cli_read(struct smbXcli_conn *conn,
                status = NT_STATUS_INVALID_PARAMETER;
                goto fail;
        }
-       ev = event_context_init(frame);
+       ev = tevent_context_init(frame);
        if (ev == NULL) {
                goto fail;
        }