diff options
author | Luke Leighton <lkcl@samba.org> | 2000-03-07 18:12:42 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 2000-03-07 18:12:42 +0000 |
commit | 8d910edd6aa387086fabb53d26daa498f2f9e48c (patch) | |
tree | 32935a891bdeba3628b1a50147ea1d39e0ab0e13 /source/winregd/srv_reg_nt.c | |
parent | 61eb83d126682587d7a7970a7c63998aa8f93f43 (diff) | |
download | samba-8d910edd6aa387086fabb53d26daa498f2f9e48c.tar.gz |
POL_HND_SIZE not defined any more
Diffstat (limited to 'source/winregd/srv_reg_nt.c')
-rw-r--r-- | source/winregd/srv_reg_nt.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/source/winregd/srv_reg_nt.c b/source/winregd/srv_reg_nt.c index e213f721e59..7e1b36e01fe 100644 --- a/source/winregd/srv_reg_nt.c +++ b/source/winregd/srv_reg_nt.c @@ -69,37 +69,6 @@ static BOOL get_policy_reg_name(struct policy_cache *cache, POLICY_HND * hnd, return False; } -#if 0 -/******************************************************************* - reg_reply_unknown_1 - ********************************************************************/ -static void reg_reply_close(REG_Q_CLOSE * q_r, prs_struct * rdata) -{ - REG_R_CLOSE r_u; - - /* set up the REG unknown_1 response */ - bzero(r_u.pol.data, POL_HND_SIZE); - - /* close the policy handle */ - if (close_policy_hnd(get_global_hnd_cache(), &(q_r->pol))) - { - r_u.status = NT_STATUS_NOPROBLEMO; - } - else - { - r_u.status = NT_STATUS_OBJECT_NAME_INVALID; - } - - DEBUG(5, ("reg_unknown_1: %d\n", __LINE__)); - - /* store the response in the SMB stream */ - reg_io_r_close("", &r_u, rdata, 0); - - DEBUG(5, ("reg_unknown_1: %d\n", __LINE__)); -} - - -#endif /******************************************************************* _reg_close ********************************************************************/ |