[SSSD] [PATCH] Cleanups

Martin Nagy mnagy at redhat.com
Sat Nov 7 08:47:46 UTC 2009


Simo Sorce wrote:
>      if (tevent_req_is_error(req, &tstate, &err)) {
> -        return -1;
> +        if (err) return err;
> +        return EIO;
>      }

Nack, err is not initialized here. I would recommend initializing it to
EIO and replace return -1 with return err.

Martin



More information about the sssd-devel mailing list