"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "gnucash/import-export/aqb/gnc-ab-getbalance.c" between
gnucash-3.6.tar.bz2 and gnucash-3.7.tar.bz2

About: GnuCash is personal and small-business financial-accounting software.

gnc-ab-getbalance.c  (gnucash-3.6.tar.bz2):gnc-ab-getbalance.c  (gnucash-3.7.tar.bz2)
skipping to change at line 137 skipping to change at line 137
AB_Banking_SendCommands(api, job_list, context); AB_Banking_SendCommands(api, job_list, context);
#else #else
AB_Banking_ExecuteJobs(api, job_list, context); AB_Banking_ExecuteJobs(api, job_list, context);
#endif #endif
/* Ignore the return value of AB_Banking_ExecuteJobs(), as the job's /* Ignore the return value of AB_Banking_ExecuteJobs(), as the job's
* status always describes better whether the job was actually * status always describes better whether the job was actually
* transferred to and accepted by the bank. See also * transferred to and accepted by the bank. See also
* https://lists.gnucash.org/pipermail/gnucash-de/2008-September/006389.html * https://lists.gnucash.org/pipermail/gnucash-de/2008-September/006389.html
*/ */
#ifdef AQBANKING6 #ifdef AQBANKING6
job_status = AB_Transaction_GetStatus(job);
if (job_status != AB_Transaction_StatusEnqueued
&& job_status != AB_Transaction_StatusPending
&& job_status != AB_Transaction_StatusAccepted)
#else #else
job_status = AB_Job_GetStatus(job); job_status = AB_Job_GetStatus(job);
if (job_status != AB_Job_StatusFinished if (job_status != AB_Job_StatusFinished
&& job_status != AB_Job_StatusPending) && job_status != AB_Job_StatusPending)
#endif #endif
{ {
g_warning("gnc_ab_getbalance: Error on executing job"); g_warning("gnc_ab_getbalance: Error on executing job: %d", job_status);
#ifdef AQBANKING6 #ifdef AQBANKING6
gnc_error_dialog (GTK_WINDOW (parent), gnc_error_dialog (GTK_WINDOW (parent),
_("Error on executing job.\n\nStatus: %s"), _("Error on executing job.\n\nStatus: %s"),
AB_Transaction_Status_toString(job_status)); AB_Transaction_Status_toString(job_status));
#else #else
gnc_error_dialog (GTK_WINDOW (parent), gnc_error_dialog (GTK_WINDOW (parent),
_("Error on executing job.\n\nStatus: %s - %s"), _("Error on executing job.\n\nStatus: %s - %s"),
AB_Job_Status2Char(job_status), AB_Job_Status2Char(job_status),
AB_Job_GetResultText(job)); AB_Job_GetResultText(job));
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)