Re: bonobo-activation broken



Hi Ale,x

On Fri, 2003-02-21 at 16:20, Alexander Larsson wrote:
> Another multiple session fix:

	Looks good to me;

	Please do commit / release / append yourself to MAINTAINERS ;-)

	Regards,

		Michael.

> Index: server/object-directory-corba.c
> ===================================================================
> RCS file: /cvs/gnome/bonobo-activation/server/object-directory-corba.c,v
> retrieving revision 1.55
> diff -u -p -r1.55 object-directory-corba.c
> --- server/object-directory-corba.c	6 Feb 2003 13:41:17 -0000	1.55
> +++ server/object-directory-corba.c	21 Feb 2003 15:26:34 -0000
> @@ -502,9 +502,9 @@ remove_active_server_entry (ActiveServer
>  	CORBA_free (servers->servers [index].environment._buffer);
>  
>  	if (index != servers->n_servers - 1)
> -		memcpy (servers->servers [index].server,
> -			servers->servers [servers->n_servers - 1].server,
> -			sizeof (servers->servers [index].server));
> +		memcpy (&servers->servers [index],
> +			&servers->servers [servers->n_servers - 1],
> +			sizeof (servers->servers [index]));
>  
>  	servers->n_servers--;
>  }
-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]