mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-02 22:49:45 +00:00
Merge pull request #1751 in FS/freeswitch from ~QUOCBAO/freeswitch:mod/mod_http_cache to master
* commit 'cbc36d0541f3ed89ccb7611fbae6cd06284e75df': FS-11943 [mod_http_cache] Fix typos in warning message in aws.c
This commit is contained in:
commit
00af023c19
@ -186,7 +186,7 @@ switch_status_t aws_s3_config_profile(switch_xml_t xml, http_profile_t *profile)
|
|||||||
profile->aws_s3_access_key_id = switch_strip_whitespace(switch_xml_txt(id));
|
profile->aws_s3_access_key_id = switch_strip_whitespace(switch_xml_txt(id));
|
||||||
profile->secret_access_key = switch_strip_whitespace(switch_xml_txt(secret));
|
profile->secret_access_key = switch_strip_whitespace(switch_xml_txt(secret));
|
||||||
if (zstr(profile->aws_s3_access_key_id) || zstr(profile->secret_access_key)) {
|
if (zstr(profile->aws_s3_access_key_id) || zstr(profile->secret_access_key)) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Missing Azure Blob credentials for profile \"%s\"\n", profile->name);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Missing AWS S3 credentials for profile \"%s\"\n", profile->name);
|
||||||
switch_safe_free(profile->aws_s3_access_key_id);
|
switch_safe_free(profile->aws_s3_access_key_id);
|
||||||
profile->aws_s3_access_key_id = NULL;
|
profile->aws_s3_access_key_id = NULL;
|
||||||
switch_safe_free(profile->secret_access_key);
|
switch_safe_free(profile->secret_access_key);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user