mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
main, res, tests: Fix compilation errors on FreeBSD.
asterisk.c, manager.c: Increase buffer sizes to avoid truncation warnings.
config.c: Include header file for WIFEXITED/WEXITSTATUS macros.
res_timing_kqueue: Use more portable format specifier.
test_crypto: Use non-linux limits.h header file.
Resolves: #916
(cherry picked from commit c807f39267
)
This commit is contained in:
committed by
Asterisk Development Team
parent
1efa7b87b8
commit
2e3879a609
@@ -9443,7 +9443,7 @@ static int __init_manager(int reload, int by_external_config)
|
||||
struct ast_manager_user *user = NULL;
|
||||
struct ast_variable *var;
|
||||
struct ast_flags config_flags = { (reload && !by_external_config) ? CONFIG_FLAG_FILEUNCHANGED : 0 };
|
||||
char a1[256];
|
||||
char a1[337];
|
||||
char a1_hash[256];
|
||||
struct ast_sockaddr ami_desc_local_address_tmp;
|
||||
struct ast_sockaddr amis_desc_local_address_tmp;
|
||||
|
Reference in New Issue
Block a user