[SSSD] [PATCH] Add sysdb_attrs_replace_name to sysdb API

Simo Sorce ssorce at redhat.com
Wed Nov 4 14:25:29 UTC 2009


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.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the sssd-devel mailing list