bonobo-activation broken



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 
                   alexl redhat com    alla lysator liu se 
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! 




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