[PATCH] Don't copy the rpc function pointers

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Dec 10 08:57:36 GMT 2007


On Mon, Dec 10, 2007 at 06:11:30PM +1100, Andrew Bartlett wrote:
> > -       struct api_struct *cmds;
> > +       const struct api_struct *cmds;
> >         int n_cmds;
> 
> It was actually (see srv_lsa.c) handled by decrementing the count.  It's
> all subject to a '#if 0', so no worry there anyway.  Unless the
> documentary value is large, perhaps we should remove that code
> entirely....

Good grief, this is ugly. I've never seen that before :-)

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20071210/b4cc65fe/attachment.bin


More information about the samba-technical mailing list