smbXcli: s/smb2cli_writev_done/smb2cli_req_writev_done
authorStefan Metzmacher <metze@samba.org>
Mon, 28 Nov 2011 09:24:18 +0000 (10:24 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 29 Nov 2011 15:00:07 +0000 (16:00 +0100)
This is a better name and it matches smb1cli_req_writev_done

metze

libcli/smb/smbXcli_base.c

index 43fbbf4e4d20e78612c4bb3e9fe957d2d6205de2..d5ad1466ff39b4919db3f2635ba60b8efc798f40 100644 (file)
@@ -2266,7 +2266,7 @@ void smb2cli_req_set_notify_async(struct tevent_req *req)
        state->smb2.notify_async = true;
 }
 
-static void smb2cli_writev_done(struct tevent_req *subreq);
+static void smb2cli_req_writev_done(struct tevent_req *subreq);
 static NTSTATUS smb2cli_conn_dispatch_incoming(struct smbXcli_conn *conn,
                                               TALLOC_CTX *tmp_mem,
                                               uint8_t *inbuf);
@@ -2430,7 +2430,7 @@ skip_credits:
        if (subreq == NULL) {
                return NT_STATUS_NO_MEMORY;
        }
-       tevent_req_set_callback(subreq, smb2cli_writev_done, reqs[0]);
+       tevent_req_set_callback(subreq, smb2cli_req_writev_done, reqs[0]);
        return NT_STATUS_OK;
 }
 
@@ -2479,7 +2479,7 @@ struct tevent_req *smb2cli_req_send(TALLOC_CTX *mem_ctx,
        return req;
 }
 
-static void smb2cli_writev_done(struct tevent_req *subreq)
+static void smb2cli_req_writev_done(struct tevent_req *subreq)
 {
        struct tevent_req *req =
                tevent_req_callback_data(subreq,