| 1483 | } |
| 1484 | |
| 1485 | static void application_record_attempt(const application_attempt_t *attempt, |
| 1486 | cbm_index_worker_result_t *last_result, |
| 1487 | bool *have_last_result, |
| 1488 | char last_log[APPLICATION_PATH_CAP]) { |
| 1489 | *last_result = attempt->result; |
| 1490 | last_result->response = NULL; |
| 1491 | *have_last_result = attempt->has_result; |
| 1492 | last_log[0] = '\0'; |
| 1493 | if (attempt->log_path[0]) { |
| 1494 | (void)snprintf(last_log, APPLICATION_PATH_CAP, "%s", attempt->log_path); |
| 1495 | } |
| 1496 | } |
| 1497 | |
| 1498 | static void application_record_cancelled(cbm_index_worker_result_t *last_result, |
| 1499 | bool *have_last_result, |
no outgoing calls
no test coverage detected