r20126 - gnucash/trunk/src/engine - Fix a bug introduced in 20042 which caused lists of Scheme strings passed to C code to be garbage.

Mike Alexander mta at code.gnucash.org
Tue Jan 18 23:21:14 EST 2011


Author: mta
Date: 2011-01-18 23:21:14 -0500 (Tue, 18 Jan 2011)
New Revision: 20126
Trac: http://svn.gnucash.org/trac/changeset/20126

Modified:
   gnucash/trunk/src/engine/engine.i
Log:
Fix a bug introduced in 20042 which caused lists of Scheme strings passed to C code to be garbage.
This caused online price quotes to fail for anything other than a currency.

Modified: gnucash/trunk/src/engine/engine.i
===================================================================
--- gnucash/trunk/src/engine/engine.i	2011-01-19 04:18:00 UTC (rev 20125)
+++ gnucash/trunk/src/engine/engine.i	2011-01-19 04:21:14 UTC (rev 20126)
@@ -143,7 +143,7 @@
     gkey = g_strdup (key);
     gnc_free_scm_locale_string(key);
 
-    path = g_list_prepend (path, key);
+    path = g_list_prepend (path, gkey);
 
     path_scm = SCM_CDR (path_scm);
   }



More information about the gnucash-changes mailing list