summaryrefslogtreecommitdiff
path: root/source/rpc_client/cli_reg.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-03-06 05:13:26 +0000
committerLuke Leighton <lkcl@samba.org>2000-03-06 05:13:26 +0000
commita39a289a7d555ca2b81daa82ca5ed7ebf4933969 (patch)
treefbc011433b6c3a896e143d12ad69a01eb2de061e /source/rpc_client/cli_reg.c
parenta5c9742fc4df8019acc882c413008f97a31f1ccf (diff)
downloadsamba-a39a289a7d555ca2b81daa82ca5ed7ebf4933969.tar.gz
turns out that POLICY_HND actually contains an RPC_UUID. only found this
out by receiving little-endian DCE/RPC packets and sending big-endian DCE/RPC packets, of course the POLICY_HND was wrong...
Diffstat (limited to 'source/rpc_client/cli_reg.c')
-rw-r--r--source/rpc_client/cli_reg.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/source/rpc_client/cli_reg.c b/source/rpc_client/cli_reg.c
index 94f526b4d87..7f0b8df301b 100644
--- a/source/rpc_client/cli_reg.c
+++ b/source/rpc_client/cli_reg.c
@@ -1084,22 +1084,7 @@ BOOL reg_close( POLICY_HND *hnd)
if (p)
{
- /* check that the returned policy handle is all zeros */
- uint32 i;
valid_close = True;
-
- for (i = 0; i < sizeof(r_c.pol.data); i++)
- {
- if (r_c.pol.data[i] != 0)
- {
- valid_close = False;
- break;
- }
- }
- if (!valid_close)
- {
- DEBUG(0,("REG_CLOSE: non-zero handle returned\n"));
- }
}
}