Re: bonobo-activation broken

Michael Meeks <[email protected]>
Newsgroups gmane.comp.gnome.components
Organization Ximian.
Message-ID <[email protected]>
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--;
>  }
-- 
 [email protected]  <><, Pseudo Engineer, itinerant idiot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.