The branch, master has been updated via 528c150... s3: Remove a pointless else branch from b6f446c... s3: Move smb_splice_chain to smbd/process.c, its only user
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 528c150d558fbd239c3d8e6b466879a5a5de76c6 Author: Volker Lendecke <v...@samba.org> Date: Tue Dec 22 14:07:52 2009 +0100 s3: Remove a pointless else branch ----------------------------------------------------------------------- Summary of changes: source3/libsmb/async_smb.c | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c index bbabba3..ce225f4 100644 --- a/source3/libsmb/async_smb.c +++ b/source3/libsmb/async_smb.c @@ -505,12 +505,10 @@ static NTSTATUS cli_smb_req_iov_send(struct tevent_req *req, } iov[0].iov_base = (void *)buf; iov[0].iov_len = talloc_get_size(buf); - subreq = writev_send(state, state->ev, state->cli->outgoing, - state->cli->fd, false, iov, 1); - } else { - subreq = writev_send(state, state->ev, state->cli->outgoing, - state->cli->fd, false, iov, iov_count); + iov_count = 1; } + subreq = writev_send(state, state->ev, state->cli->outgoing, + state->cli->fd, false, iov, iov_count); if (subreq == NULL) { return NT_STATUS_NO_MEMORY; } -- Samba Shared Repository