提交 295982da authored 作者: Chris Rienzo's avatar Chris Rienzo 提交者: Andrey Volk

FS-11810 [mod_httapi] fix compile error

上级 ddc7bda7
...@@ -2473,7 +2473,7 @@ static switch_status_t fetch_cache_data(http_file_context_t *context, const char ...@@ -2473,7 +2473,7 @@ static switch_status_t fetch_cache_data(http_file_context_t *context, const char
if (!(client = client_create(NULL, profile_name, NULL))) { if (!(client = client_create(NULL, profile_name, NULL))) {
if (err_msg) { if (err_msg) {
*err_msg = "httapi profile configuration not found" *err_msg = "httapi profile configuration not found";
} }
return SWITCH_STATUS_FALSE; return SWITCH_STATUS_FALSE;
} }
...@@ -2652,7 +2652,7 @@ static switch_status_t fetch_cache_data(http_file_context_t *context, const char ...@@ -2652,7 +2652,7 @@ static switch_status_t fetch_cache_data(http_file_context_t *context, const char
if (err_msg) { if (err_msg) {
*err_msg = "response code != 200"; *err_msg = "response code != 200";
} }
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "caching: url:%s to %s failed with HTTP response code %s\n", url, code); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "caching: url:%s to %s failed with HTTP response code %d\n", url, save_path, (int)code);
status = SWITCH_STATUS_FALSE; status = SWITCH_STATUS_FALSE;
break; break;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论