/hg/icedtea6: Fixed typo in previous commit

dbhole at icedtea.classpath.org dbhole at icedtea.classpath.org
Wed Apr 21 08:30:58 PDT 2010


changeset bedc8f68d746 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=bedc8f68d746
author: Deepak Bhole <dbhole at redhat.com>
date: Wed Apr 21 11:30:49 2010 -0400

	Fixed typo in previous commit


diffstat:

2 files changed, 6 insertions(+), 1 deletion(-)
ChangeLog                           |    5 +++++
plugin/icedteanp/IcedTeaNPPlugin.cc |    2 +-

diffs (24 lines):

diff -r 9d2736fae2b2 -r bedc8f68d746 ChangeLog
--- a/ChangeLog	Tue Apr 20 16:11:05 2010 -0400
+++ b/ChangeLog	Wed Apr 21 11:30:49 2010 -0400
@@ -1,3 +1,8 @@ 2010-04-20  Deepak Bhole <dbhole at redhat.
+2010-04-21  Deepak Bhole <dbhole at redhat.com>
+
+	* plugin/icedteanp/IcedTeaNPPlugin.cc
+	(plugin_filter_environment): Fix typo in previous commit
+
 2010-04-20  Deepak Bhole <dbhole at redhat.com>
 
 	* plugin/icedteanp/IcedTeaNPPlugin.cc
diff -r 9d2736fae2b2 -r bedc8f68d746 plugin/icedteanp/IcedTeaNPPlugin.cc
--- a/plugin/icedteanp/IcedTeaNPPlugin.cc	Tue Apr 20 16:11:05 2010 -0400
+++ b/plugin/icedteanp/IcedTeaNPPlugin.cc	Wed Apr 21 11:30:49 2010 -0400
@@ -1464,7 +1464,7 @@ plugin_filter_environment(void)
 plugin_filter_environment(void)
 {
   gchar **var_names = g_listenv();
-  gchar **new_env = (gchar**) malloc(sizeof(gchar*) * g_strv_length (var_names) + 1);
+  gchar **new_env = (gchar**) malloc(sizeof(gchar*) * (g_strv_length (var_names) + 1));
   int i_var, i_env;
 
   for (i_var = 0, i_env = 0; var_names[i_var] != NULL; i_var++)



More information about the distro-pkg-dev mailing list