good for merge

On Thu, 2010-03-18 at 13:44 +1100, Angus Salkeld wrote:
> evs's service id is 0, so just fix this logic.
> 
> -Angus
> 
> Signed-off-by: Angus Salkeld <[email protected]>
> ---
>  exec/service.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/exec/service.c b/exec/service.c
> index 6c549fd..f06ca22 100644
> --- a/exec/service.c
> +++ b/exec/service.c
> @@ -436,7 +436,7 @@ static unsigned int service_unlink_and_exit (
>                       (void *)&service_id, NULL);
>  
>               if(service_id != NULL
> -                     && *service_id > 0
> +                     && *service_id >= 0
>                       && *service_id < SERVICE_HANDLER_MAXIMUM_COUNT
>                       && ais_service[*service_id] != NULL) {
>  

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to