[systemd-devel] [PATCH] endpoint: break if an endpoint was found

Daniel Mack daniel at zonque.org
Wed Mar 19 17:05:29 PDT 2014


On 03/19/2014 09:31 PM, Djalal Harouni wrote:
> Signed-off-by: Djalal Harouni <tixxdz at opendz.org>
> ---
>  endpoint.c | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks!

> 
> diff --git a/endpoint.c b/endpoint.c
> index 876e5e3..a6d9dfb 100644
> --- a/endpoint.c
> +++ b/endpoint.c
> @@ -139,6 +139,7 @@ static struct kdbus_ep *kdbus_ep_find(struct kdbus_bus *bus, const char *name)
>  			continue;
>  
>  		ep = kdbus_ep_ref(e);
> +		break;
>  	}
>  	mutex_unlock(&bus->lock);
>  
> 



More information about the systemd-devel mailing list