[SSSD] [PATCH] Add sysdb_attrs_replace_name to sysdb API
Simo Sorce
ssorce at redhat.com
Wed Nov 4 15:44:22 UTC 2009
On Wed, 2009-11-04 at 16:11 +0100, Sumit Bose wrote:
> On Wed, Nov 04, 2009 at 09:25:29AM -0500, Simo Sorce wrote:
> > On Wed, 2009-11-04 at 15:05 +0100, Sumit Bose wrote:
> > > + if (e != NULL) {
> > > + dummy = talloc_strdup(talloc_parent(e->name), newname);
> >
> > The parent should be "attrs", I would use that and not
> talloc_parent(),
> > so even if the parent is something "else", we get the new parent
> right.
> >
> > Simo.
> >
>
> fixed
ack
Simo.
--
Simo Sorce * Red Hat, Inc * New York
More information about the sssd-devel
mailing list