[Gnucash-changes] cleanup debug printing

Linas Vepstas linas at cvs.gnucash.org
Mon Jul 5 23:37:32 EDT 2004


Log Message:
-----------
cleanup debug printing

Modified Files:
--------------
    gnucash/src/engine:
        qof-be-utils.h

Revision Data
-------------
Index: qof-be-utils.h
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/engine/qof-be-utils.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lsrc/engine/qof-be-utils.h -Lsrc/engine/qof-be-utils.h -u -r1.2 -r1.3
--- src/engine/qof-be-utils.h
+++ src/engine/qof-be-utils.h
@@ -57,7 +57,7 @@
     PERR ("unbalanced call - resetting (was %d)", (inst)->editlevel); \
     (inst)->editlevel = 1;                                          \
   }                                                                 \
-  ENTER ("inst=%p", (inst));                                        \
+  ENTER ("(inst=%p)", (inst));                                      \
                                                                     \
   /* See if there's a backend.  If there is, invoke it. */          \
   be = qof_book_get_backend ((inst)->book);                         \
@@ -107,7 +107,7 @@
     PERR ("unbalanced call - resetting (was %d)", (inst)->editlevel); \
     (inst)->editlevel = 0;                                       \
   }                                                              \
-  ENTER ("inst=%p, dirty=%d do-free=%d",                         \
+  ENTER ("(inst=%p) dirty=%d do-free=%d",                        \
             (inst), (inst)->dirty, (inst)->do_free);             \
 }
 


More information about the gnucash-changes mailing list