[Gnucash-changes] make the debug print statements more informational
Linas Vepstas
linas at cvs.gnucash.org
Fri Jul 2 00:06:12 EDT 2004
Log Message:
-----------
make the debug print statements more informational
Modified Files:
--------------
gnucash/src/engine:
Scrub3.c
Revision Data
-------------
Index: Scrub3.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/engine/Scrub3.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -Lsrc/engine/Scrub3.c -Lsrc/engine/Scrub3.c -u -r1.11 -r1.12
--- src/engine/Scrub3.c
+++ src/engine/Scrub3.c
@@ -94,7 +94,7 @@
GNCPolicy *pcy;
if (!lot) return FALSE;
- ENTER ("(lot=%p)", lot);
+ ENTER ("(lot=%p) %s", lot, gnc_lot_get_title(lot));
acc = gnc_lot_get_account (lot);
pcy = acc->policy;
@@ -103,7 +103,8 @@
/* If the lot balance is zero, we don't need to rebalance */
lot_baln = gnc_lot_get_balance (lot);
- PINFO ("lot baln=%s", gnc_numeric_to_string (lot_baln));
+ PINFO ("lot baln=%s for %s", gnc_numeric_to_string (lot_baln),
+ gnc_lot_get_title(lot));
if (! gnc_numeric_zero_p (lot_baln))
{
SplitList *node;
More information about the gnucash-changes
mailing list