summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-02-22 09:50:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:01 -0500
commit36098dfda91df75f1d05631a4c9006e73d3c4d29 (patch)
tree9a45cbd26f9304bcee0a0ca841e6ca407e2d5cd7 /source4
parent5f7b504cefa9e61a5fd3d65dd0a1be9e9341af90 (diff)
downloadsamba-36098dfda91df75f1d05631a4c9006e73d3c4d29.tar.gz
samba-36098dfda91df75f1d05631a4c9006e73d3c4d29.tar.bz2
samba-36098dfda91df75f1d05631a4c9006e73d3c4d29.zip
r13620: initialize the CMD with 0 too
metze (This used to be commit 7cf1423bc850aca93453d337b49ba593a034000d)
Diffstat (limited to 'source4')
-rw-r--r--source4/smb_server/smb/request.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/smb_server/smb/request.c b/source4/smb_server/smb/request.c
index 3879cadebe..60970fbd9c 100644
--- a/source4/smb_server/smb/request.c
+++ b/source4/smb_server/smb/request.c
@@ -160,6 +160,7 @@ void req_setup_reply(struct smbsrv_request *req, uint_t wct, uint_t buflen)
SSVAL(req->out.hdr,HDR_UID,SVAL(req->in.hdr,HDR_UID));
SSVAL(req->out.hdr,HDR_MID,SVAL(req->in.hdr,HDR_MID));
} else {
+ SCVAL(req->out.hdr,HDR_COM,0);
SSVAL(req->out.hdr,HDR_TID,0);
SSVAL(req->out.hdr,HDR_PID,0);
SSVAL(req->out.hdr,HDR_UID,0);