mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-13 01:07:24 -05:00
Fix Wformat-overflow Issues Regarding Previous Commit;
This commit is contained in:
@@ -699,7 +699,7 @@ void rotate_symbol_out_file (dsd_opts * opts, dsd_state * state)
|
||||
|
||||
//add a system event to echo in the event history
|
||||
state->event_history_s[0].Event_History_Items[0].color_pair = 4;
|
||||
char event_str[200]; memset (event_str, 0, sizeof(event_str));
|
||||
char event_str[2000]; memset (event_str, 0, sizeof(event_str));
|
||||
sprintf (event_str, "DSD-FME Dibit Capture File Rotated: %s;", opts->symbol_out_file);
|
||||
watchdog_event_datacall (opts, state, 0xFFFFFF, 0xFFFFFF, event_str, 0);
|
||||
state->lastsrc = 0; //this could wipe a call, but usually on TDMA cc's, slot 1 is the control channel, so may never be set when this is run
|
||||
|
||||
@@ -299,7 +299,7 @@ uint8_t ncurses_input_handler(dsd_opts * opts, dsd_state * state, int c)
|
||||
|
||||
//add a system event to echo in the event history
|
||||
state->event_history_s[0].Event_History_Items[0].color_pair = 4;
|
||||
char event_str[200]; memset (event_str, 0, sizeof(event_str));
|
||||
char event_str[2000]; memset (event_str, 0, sizeof(event_str));
|
||||
sprintf (event_str, "DSD-FME Dibit Capture File Started: %s;", opts->symbol_out_file);
|
||||
watchdog_event_datacall (opts, state, 0xFFFFFF, 0xFFFFFF, event_str, 0);
|
||||
state->lastsrc = 0; //this could wipe a call src if they hit 'R' while call in slot 1 in progress
|
||||
@@ -330,7 +330,7 @@ uint8_t ncurses_input_handler(dsd_opts * opts, dsd_state * state, int c)
|
||||
|
||||
//add a system event to echo in the event history
|
||||
state->event_history_s[0].Event_History_Items[0].color_pair = 4;
|
||||
char event_str[200]; memset (event_str, 0, sizeof(event_str));
|
||||
char event_str[2000]; memset (event_str, 0, sizeof(event_str));
|
||||
sprintf (event_str, "DSD-FME Dibit Capture File Closed: %s;", opts->symbol_out_file);
|
||||
watchdog_event_datacall (opts, state, 0xFFFFFF, 0xFFFFFF, event_str, 0);
|
||||
state->lastsrc = 0; //this could wipe a call src if they hit 'R' while call in slot 1 in progress
|
||||
|
||||
Reference in New Issue
Block a user