From 295982dafaa970584a0211795e1b9fed52e625e1 Mon Sep 17 00:00:00 2001 From: Chris Rienzo Date: Thu, 25 Apr 2019 19:26:12 +0000 Subject: [PATCH] FS-11810 [mod_httapi] fix compile error --- src/mod/applications/mod_httapi/mod_httapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/applications/mod_httapi/mod_httapi.c b/src/mod/applications/mod_httapi/mod_httapi.c index c4e8a70c0b..3e28bd16ef 100644 --- a/src/mod/applications/mod_httapi/mod_httapi.c +++ b/src/mod/applications/mod_httapi/mod_httapi.c @@ -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 (err_msg) { - *err_msg = "httapi profile configuration not found" + *err_msg = "httapi profile configuration not found"; } return SWITCH_STATUS_FALSE; } @@ -2652,7 +2652,7 @@ static switch_status_t fetch_cache_data(http_file_context_t *context, const char if (err_msg) { *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; break; }