mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-28 23:15:59 +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 f415e313b4)
This commit is contained in:
committed by
Asterisk Development Team
parent
c9bfbd9959
commit
423f0bdc99
@@ -4339,7 +4339,7 @@ static void asterisk_daemon(int isroot, const char *runuser, const char *rungrou
|
||||
if (ast_opt_console) {
|
||||
/* Console stuff now... */
|
||||
/* Register our quit function */
|
||||
char title[256];
|
||||
char title[296];
|
||||
char hostname[MAXHOSTNAMELEN] = "";
|
||||
|
||||
if (gethostname(hostname, sizeof(hostname) - 1)) {
|
||||
|
||||
Reference in New Issue
Block a user