diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-05-21 16:17:53 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-05-21 16:21:57 +0200 |
commit | c3f6eff4f5711245991237d03b66e1570e6e35a5 (patch) | |
tree | 8ca28d8fdb46a656a33a52ae7ebc0c5d1d754fba /source3 | |
parent | cbcee123b2fcaa058ae09eaa9938da480ededdd4 (diff) | |
download | samba-c3f6eff4f5711245991237d03b66e1570e6e35a5.tar.gz samba-c3f6eff4f5711245991237d03b66e1570e6e35a5.tar.xz samba-c3f6eff4f5711245991237d03b66e1570e6e35a5.zip |
s3:smbd: we want to get the next command offset and not set it...
This should also fix the build on some hosts.
metze
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/smb2_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c index 36f4c10b17d..a16a3d6c3dc 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; |