| 688 | enum { APPLICATION_RECORD_ERROR_CAP = 512 }; |
| 689 | |
| 690 | static void application_utc_now(char out[32]) { |
| 691 | time_t now = time(NULL); |
| 692 | struct tm parts; |
| 693 | out[0] = '\0'; |
| 694 | if (cbm_gmtime_r(&now, &parts)) { |
| 695 | (void)strftime(out, 32, "%Y-%m-%dT%H:%M:%SZ", &parts); |
| 696 | } |
| 697 | } |
| 698 | |
| 699 | static cbm_daemon_application_index_record_t *application_index_record_find_locked( |
| 700 | cbm_daemon_application_t *application, const char *project_key) { |
no test coverage detected