C-Netz: Increment error counter only when trying to reach the phone

This commit is contained in:
Andreas Eversberg
2016-10-23 11:50:02 +02:00
parent 1ea95de120
commit c6d3a41b81
3 changed files with 6 additions and 5 deletions

View File

@@ -81,7 +81,7 @@ transaction_t *create_transaction(cnetz_t *cnetz, uint32_t state, uint8_t futln_
void destroy_transaction(transaction_t *trans)
{
/* update database: now idle */
update_db(trans->cnetz, trans->futln_nat, trans->futln_fuvst, trans->futln_rest, -1, 0, trans->ma_failed);
update_db(trans->cnetz, trans->futln_nat, trans->futln_fuvst, trans->futln_rest, -1, 0, trans->page_failed);
unlink_transaction(trans);