[SSSD] [PATCH] --debug-timestamps=1 is not passed to providers

Jakub Hrozek jhrozek at redhat.com
Fri Aug 19 13:57:40 UTC 2011


On Thu, Aug 18, 2011 at 04:49:22PM +0200, Pavel Březina wrote:
> https://fedorahosted.org/sssd/ticket/972
> 
> Requires "New DEBUG facility" patches.

> +        if (debug_to_file) {
> +            svc->command = talloc_strdup_append(
> +                svc->command, " --debug-to-files"
> +            );
> +            if (!svc->command) {
> +                talloc_free(svc);
> +                return ENOMEM;
> +            }
> +        }

I think you meant to use talloc_asprintf_append() here?

Otherwise seems to work fine.




More information about the sssd-devel mailing list