patch for ldb: add application flags

simo idra at samba.org
Mon Apr 18 05:52:35 MDT 2011


On Mon, 2011-04-18 at 10:38 +0400, Matthieu Patou wrote:
> + */
> +uint32_t ldb_req_get_application_flag(struct ldb_request *req)
> +{
> +       if (req != NULL && req->handle != NULL) {
> +               return (req->handle->app_flags);
> +       }
> +}

you are not returning anything in case req or req->handle are NULL here.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>



More information about the samba-technical mailing list