diff options
author | Volker Lendecke <vl@samba.org> | 2008-10-09 16:55:56 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-10-13 19:32:39 +0200 |
commit | d65afbe55f3912384f93f8401b83f18965a9b569 (patch) | |
tree | 72518511c14a0b7e7f860eaa4245ead0ad37b7d6 /source3/smbd/process.c | |
parent | c530009401f111bc62008a2a75cdad5b9d5ee7d1 (diff) | |
download | samba-d65afbe55f3912384f93f8401b83f18965a9b569.tar.gz samba-d65afbe55f3912384f93f8401b83f18965a9b569.tar.bz2 samba-d65afbe55f3912384f93f8401b83f18965a9b569.zip |
Remove the chain_fsp global
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r-- | source3/smbd/process.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 32629fd392..be45d7ad7c 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -376,6 +376,7 @@ void init_smb_request(struct smb_request *req, req->unread_bytes = unread_bytes; req->encrypted = encrypted; req->conn = conn_find(req->tid); + req->chain_fsp = NULL; /* Ensure we have at least wct words and 2 bytes of bcc. */ if (smb_size + req->wct*2 > req_size) { @@ -1486,7 +1487,6 @@ static void construct_reply(char *inbuf, int size, size_t unread_bytes, bool enc struct smb_request *req; chain_size = 0; - file_chain_reset(); reset_chain_p(); if (!(req = talloc(talloc_tos(), struct smb_request))) { @@ -1733,6 +1733,7 @@ void chain_reply(struct smb_request *req) smb_panic("could not allocate smb_request"); } init_smb_request(req2, (uint8 *)inbuf2,0, req->encrypted); + req2->chain_fsp = req->chain_fsp; /* process the request */ switch_message(smb_com2, req2, new_size); |