[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1739-gc3f6eff

Stefan Metzmacher metze at samba.org
Thu May 21 14:39:34 GMT 2009


The branch, master has been updated
       via  c3f6eff4f5711245991237d03b66e1570e6e35a5 (commit)
      from  cbcee123b2fcaa058ae09eaa9938da480ededdd4 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit c3f6eff4f5711245991237d03b66e1570e6e35a5
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu May 21 16:17:53 2009 +0200

    s3:smbd: we want to get the next command offset and not set it...
    
    This should also fix the build on some hosts.
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/smb2_server.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index 36f4c10..a16a3d6 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -571,7 +571,7 @@ NTSTATUS smbd_smb2_request_done_ex(struct smbd_smb2_request *req,
 	/* the fallback dynamic buffer */
 	outdyn = outhdr + SMB2_HDR_BODY + 8;
 
-	next_command_ofs = SIVAL(outhdr, SMB2_HDR_NEXT_COMMAND, 0);
+	next_command_ofs = IVAL(outhdr, SMB2_HDR_NEXT_COMMAND);
 	SIVAL(outhdr, SMB2_HDR_STATUS, NT_STATUS_V(status));
 
 	req->out.vector[i+1].iov_base = (void *)body.data;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list