diff options
author | Volker Lendecke <vl@samba.org> | 2008-10-12 23:09:18 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-10-13 20:59:33 +0200 |
commit | a781b78417b6d7b875230dd2edcb932445aa4197 (patch) | |
tree | af301f9afe7ea77524397c4d750ed775f5fb8a90 /source3/smbd/pipes.c | |
parent | ac126ea8186364bddfec340189a377978d52c7ae (diff) | |
download | samba-a781b78417b6d7b875230dd2edcb932445aa4197.tar.gz samba-a781b78417b6d7b875230dd2edcb932445aa4197.tar.bz2 samba-a781b78417b6d7b875230dd2edcb932445aa4197.zip |
Remove smb_np_struct
Diffstat (limited to 'source3/smbd/pipes.c')
-rw-r--r-- | source3/smbd/pipes.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c index 16d8ed1c11..af363689c9 100644 --- a/source3/smbd/pipes.c +++ b/source3/smbd/pipes.c @@ -312,29 +312,3 @@ void reply_pipe_read_and_X(struct smb_request *req) chain_reply(req); } - -/**************************************************************************** - Reply to a close. -****************************************************************************/ - -void reply_pipe_close(connection_struct *conn, struct smb_request *req) -{ - smb_np_struct *p = get_rpc_pipe_p(SVAL(req->inbuf,smb_vwv0)); - - if (!p) { - reply_doserror(req, ERRDOS, ERRbadfid); - return; - } - - DEBUG(5,("reply_pipe_close: pnum:%x\n", p->pnum)); - - if (!close_rpc_pipe_hnd(p)) { - reply_doserror(req, ERRDOS, ERRbadfid); - return; - } - - /* TODO: REMOVE PIPE FROM DB */ - - reply_outbuf(req, 0, 0); - return; -} |