[mod_httapi] use SWITCH_TIME_T_FMT

This commit is contained in:
Seven Du 2025-01-13 14:15:55 +08:00 committed by Andrey Volk
parent 17e36a9beb
commit 029d6ad99f

View File

@ -2741,7 +2741,7 @@ static switch_status_t write_meta_file(http_file_context_t *context, const char
}
switch_snprintf(write_data, sizeof(write_data),
"%" TIME_T_FMT ":%s",
"%" SWITCH_TIME_T_FMT ":%s",
switch_epoch_time_now(NULL) + ttl,
data);
@ -3308,5 +3308,3 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_httapi_shutdown)
* For VIM:
* vim:set softtabstop=4 shiftwidth=4 tabstop=4 noet:
*/