[Openais] [patch 04/13] Bail out when a plugin doesnt load

Steven Dake sdake at redhat.com
Sat Sep 8 23:58:24 PDT 2007


merged
thanks
-steve
On Fri, 2007-08-24 at 11:53 +0200, beekhof at gmail.com wrote:
> plain text document attachment (bug-plugin-load.patch)
> If iface_ver0_p is not reset, then as long as the first plugin loads 
> then all subsequent plugins will report success.
> 
> ---
>  exec/service.c |    1 + 1 files changed, 1 insertion(+)
> 
> Index: exec/service.c
> ===================================================================
> --- exec/service.c.orig	2007-08-23 19:38:36.000000000 +0200
> +++ exec/service.c	2007-08-23 20:14:35.000000000 +0200
> @@ -204,6 +204,7 @@ int openais_service_link_all (struct obj
>  		/*
>  		 * reference the interface and register it
>  		 */
> +		iface_ver0_p = NULL;
>  		lcr_ifact_reference (
>  			&handle,
>  			service_name,
> 



More information about the Openais mailing list