[patch] fix for orbit-options.c



Hi Michael,

This is for head ORBit2.  I think you didn't mean to change this line in
your commit from 20-Jun.  I had crashes in bonobo-activation-server with
that change and it doesn't look correct.  This patch fixes it.

HTH,
Gustavo

Index: orbit-options.c
===================================================================
RCS file: /cvs/gnome/ORBit2/src/orb/util/orbit-options.c,v
retrieving revision 1.5
diff -u -r1.5 orbit-options.c
--- orbit-options.c	21 Jun 2002 12:59:21 -0000	1.5
+++ orbit-options.c	24 Jun 2002 05:37:08 -0000
@@ -178,7 +178,7 @@
 			tmpstr++;
 
                 strncpy (name, tmpstr, sizeof (name) - 1);
-		tmpstr [sizeof (name) - 1] = '\0';
+		name [sizeof (name) - 1] = '\0';
 
                 tmpstr = strchr (name, '=');
                 if (tmpstr)


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