[Gnucash-changes] More HBCI work.

Christian Stimming cstim at cvs.gnucash.org
Sun Oct 3 08:23:03 EDT 2004


Log Message:
-----------
More HBCI work.

Tags:
----
gnucash-1-8-branch

Modified Files:
--------------
    gnucash/src/import-export/hbci:
        gnc-hbci-utils.c

Revision Data
-------------
Index: gnc-hbci-utils.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/import-export/hbci/gnc-hbci-utils.c,v
retrieving revision 1.23.2.11
retrieving revision 1.23.2.12
diff -Lsrc/import-export/hbci/gnc-hbci-utils.c -Lsrc/import-export/hbci/gnc-hbci-utils.c -u -r1.23.2.11 -r1.23.2.12
--- src/import-export/hbci/gnc-hbci-utils.c
+++ src/import-export/hbci/gnc-hbci-utils.c
@@ -34,6 +34,7 @@
 #include "global-options.h"
 
 #include "hbci-interaction.h"
+#include <aqbanking/version.h>
 
 /* static short module = MOD_IMPORT; */
 
@@ -418,8 +419,16 @@
 /*     HBCI_Hbci_setDebugLevel (0); */
 
   do {
-    if (inter)
+    if (inter) {
       GNCInteractor_show_nodelete (inter);
+#if (AQBANKING_VERSION_MAJOR > 0) || (AQBANKING_VERSION_MINOR > 9) || \
+  ((AQBANKING_VERSION_MINOR == 9) && \
+   ((AQBANKING_VERSION_PATCHLEVEL > 6) || \
+    ((AQBANKING_VERSION_PATCHLEVEL == 6) && (AQBANKING_VERSION_BUILD > 1))))
+      AB_Banking_SetPinCacheEnabled (api, GNCInteractor_get_cache_valid(inter));
+#endif
+    }
+
     err = AB_Banking_ExecuteQueue (api);
 
     /* Print result codes to interactor */


More information about the gnucash-changes mailing list