Revision 320d5bb1
Von admin vor fast 7 Jahren hinzugefügt
| src/libs/plugins/backends/aqhbci/banking/provider_sendcmd.c | ||
|---|---|---|
| 
     | 
||
| 
                   rv=AH_Provider__AddCommandToOutbox(pro, u, a, t, outbox);
 
   | 
||
| 
                   if (rv<0) {
 
   | 
||
| 
                     AB_TRANSACTION *tCopy;
 
   | 
||
| 
     | 
||
| 
                     DBG_INFO(AQHBCI_LOGDOMAIN, "here (%d)", rv);
 
   | 
||
| 
     | 
||
| 
                     /* error, add a transaction copy with error status to the context */
 
   | 
||
| 
                     tCopy=AB_Transaction_dup(t);
 
   | 
||
| 
                     AB_Transaction_SetStatus(tCopy, AB_Transaction_StatusError);
 
   | 
||
| 
                     AB_ImExporterContext_AddTransaction(ctx, tCopy);
 
   | 
||
| 
                     AB_Transaction_SetStatus(t, AB_Transaction_StatusError);
 
   | 
||
| 
                   }
 
   | 
||
| 
                   t=AB_Transaction_List2Iterator_Next(it);
 
   | 
||
| 
                 }
 
   | 
||
Auch abrufbar als: Unified diff
AqHBCI: Dont add errorneous commands to im-/exporter context.