From f21c9935ef2b5e4cec61696b9e0d445a729766cc Mon Sep 17 00:00:00 2001
From: Christopher James Lahey <clahey@helixcode.com>
Date: Mon, 6 Mar 2000 00:27:32 +0000
Subject: Fixed e_xml_set_integer_prop_by_name.

2000-03-05  Christopher James Lahey  <clahey@helixcode.com>

        * e-util/e-xml-utils.c: Fixed e_xml_set_integer_prop_by_name.

svn path=/trunk/; revision=2066
---
 e-util/e-xml-utils.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'e-util/e-xml-utils.c')

diff --git a/e-util/e-xml-utils.c b/e-util/e-xml-utils.c
index 7eb54105d1..db9cfafb92 100644
--- a/e-util/e-xml-utils.c
+++ b/e-util/e-xml-utils.c
@@ -48,7 +48,7 @@ e_xml_get_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name)
 void
 e_xml_set_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name, int value)
 {
-	xmlChar *value = g_strdup_printf("%d", value);
-	xmlSetProp(parent, prop_name, value);
-	g_free (value);
+	xmlChar *valuestr = g_strdup_printf("%d", value);
+	xmlSetProp(parent, prop_name, valuestr);
+	g_free (valuestr);
 }
-- 
cgit