CVS update: samba/source/samrd

Luke Leighton lkcl at samba.anu.edu.au
Sat Feb 19 04:29:33 EST 2000


Date:	Saturday February 19, 2000 @ 4:29
Author:	lkcl

Update of /data/cvs/samba/source/samrd
In directory samba:/tmp/cvs-serv3262/samrd

Modified Files:
      Tag: SAMBA_TNG
	srv_samr_passdb.c 
Log Message:
>From Elrond at Wunder-Nett.org Sat Feb 19 04:14:38 2000
Date: Fri, 18 Feb 2000 16:02:28 +0100
From: Elrond <Elrond at Wunder-Nett.org>
To: Luke Kenneth Casson Leighton <lkcl at samba.org>
Subject: POL_HND cleanup 1


Hi,

Since you didn't answer my mail, where I asked, if I should
clean up the POLICY_HND-usage, I just started to do it.


(For CVS, maybe:)
I removed most of the unnecessary references to
POLICY_HND->data, which mostly were something like this:

	memcpy(hnd->data, r.pol.data, sizeof(hnd->data));

which I've replaced by this:

	*hnd = r.pol;

(which let's the compiler do nice typechecking)

<a href="mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton    </a>
<a href="http://cb1.com/~lkcl"  > Samba and Network Development   </a>
<a href="http://samba.org"      > Samba Web site                  </a>
<a href="http://www.iss.net"    > Internet Security Systems, Inc. </a>
<a href="http://mcp.com"        > Macmillan Technical Publishing  </a>
 
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals


More information about the samba-cvs mailing list