FS-9785: Fix format-truncation warnings for systems that treat it as an error.
This commit is contained in:
parent
ae5c197808
commit
052c7c3061
|
@ -76,7 +76,7 @@ static int is_color = 1;
|
||||||
static int warn_stop = 0;
|
static int warn_stop = 0;
|
||||||
static int connected = 0;
|
static int connected = 0;
|
||||||
static int allow_ctl_c = 0;
|
static int allow_ctl_c = 0;
|
||||||
static char bare_prompt_str[512] = "";
|
static char bare_prompt_str[514] = "";
|
||||||
static int bare_prompt_str_len = 0;
|
static int bare_prompt_str_len = 0;
|
||||||
static char prompt_str[512] = "";
|
static char prompt_str[512] = "";
|
||||||
static char prompt_color[12] = {ESL_SEQ_DEFAULT_COLOR};
|
static char prompt_color[12] = {ESL_SEQ_DEFAULT_COLOR};
|
||||||
|
|
|
@ -3817,7 +3817,7 @@ FT_DECLARE(ftdm_status_t) ftdm_channel_queue_dtmf(ftdm_channel_t *ftdmchan, cons
|
||||||
if (!ftdmchan->dtmfdbg.file) {
|
if (!ftdmchan->dtmfdbg.file) {
|
||||||
struct tm currtime;
|
struct tm currtime;
|
||||||
time_t currsec;
|
time_t currsec;
|
||||||
char dfile[1024];
|
char dfile[1138];
|
||||||
|
|
||||||
currsec = time(NULL);
|
currsec = time(NULL);
|
||||||
|
|
||||||
|
@ -5636,7 +5636,7 @@ FT_DECLARE(ftdm_status_t) ftdm_unload_modules(void)
|
||||||
{
|
{
|
||||||
ftdm_hash_iterator_t *i = NULL;
|
ftdm_hash_iterator_t *i = NULL;
|
||||||
ftdm_dso_lib_t lib = NULL;
|
ftdm_dso_lib_t lib = NULL;
|
||||||
char modpath[255] = { 0 };
|
char modpath[256] = { 0 };
|
||||||
|
|
||||||
/* stop signaling interfaces first as signaling depends on I/O and not the other way around */
|
/* stop signaling interfaces first as signaling depends on I/O and not the other way around */
|
||||||
for (i = hashtable_first(globals.module_hash); i; i = hashtable_next(i)) {
|
for (i = hashtable_first(globals.module_hash); i; i = hashtable_next(i)) {
|
||||||
|
|
Loading…
Reference in New Issue