bonobo-activation broken

Alexander Larsson <[email protected]>
Newsgroups gmane.comp.gnome.components
Message-ID <Pine.LNX.4.44.0302211118570.31347-100000@devserv.devel.redhat.com>
Another multiple session fix:

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--;
 }

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   [email protected]    [email protected] 
He's an immortal day-dreaming messiah with a robot buddy named Sparky. She's a 
plucky Bolivian femme fatale from a secret island of warrior women. They fight 
crime!
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.