summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-08 17:59:51 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-09 12:40:26 +0200
commita9f03f198292f9e88647c3e2c3491e68bab3e9cf (patch)
tree5bdf20e54618c1f3847ede7a47ad8f6bd702e215 /source3
parent4768fc670401d86bd07ab366c5b0e81eb1998465 (diff)
downloadsamba-a9f03f198292f9e88647c3e2c3491e68bab3e9cf.tar.gz
samba-a9f03f198292f9e88647c3e2c3491e68bab3e9cf.tar.bz2
samba-a9f03f198292f9e88647c3e2c3491e68bab3e9cf.zip
s3:smb2cli_base: rename 'result' => 'req' in smb2cli_req_create()
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/smb2cli_base.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/source3/libsmb/smb2cli_base.c b/source3/libsmb/smb2cli_base.c
index 318f1a250b..af2d10026d 100644
--- a/source3/libsmb/smb2cli_base.c
+++ b/source3/libsmb/smb2cli_base.c
@@ -138,21 +138,21 @@ static bool smb2cli_req_set_pending(struct tevent_req *req)
}
struct tevent_req *smb2cli_req_create(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct cli_state *cli,
- uint16_t cmd,
- uint32_t flags,
- const uint8_t *fixed,
- uint16_t fixed_len,
- const uint8_t *dyn,
- uint16_t dyn_len)
+ struct tevent_context *ev,
+ struct cli_state *cli,
+ uint16_t cmd,
+ uint32_t flags,
+ const uint8_t *fixed,
+ uint16_t fixed_len,
+ const uint8_t *dyn,
+ uint16_t dyn_len)
{
- struct tevent_req *result;
+ struct tevent_req *req;
struct smb2cli_req_state *state;
- result = tevent_req_create(mem_ctx, &state,
- struct smb2cli_req_state);
- if (result == NULL) {
+ req = tevent_req_create(mem_ctx, &state,
+ struct smb2cli_req_state);
+ if (req == NULL) {
return NULL;
}
state->ev = ev;
@@ -174,7 +174,7 @@ struct tevent_req *smb2cli_req_create(TALLOC_CTX *mem_ctx,
SIVAL(state->hdr, SMB2_HDR_TID, cli->smb2.tid);
SBVAL(state->hdr, SMB2_HDR_SESSION_ID, cli->smb2.uid);
- return result;
+ return req;
}
static void smb2cli_writev_done(struct tevent_req *subreq);