From 2cf23db34021aef3f7d8eb62abe5890e6db8c2c1 Mon Sep 17 00:00:00 2001 From: "David E. Tiller" <3858971+dtiller@users.noreply.github.com> Date: Sat, 2 Apr 2022 17:55:59 -0400 Subject: [PATCH] Default buffer was _way_ too small. --- src/multi_modem.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/multi_modem.c b/src/multi_modem.c index 432da29..45f2cfd 100644 --- a/src/multi_modem.c +++ b/src/multi_modem.c @@ -344,10 +344,10 @@ void multi_modem_process_rec_frame (int chan, int subchan, int slice, unsigned c // alevel gets in there somehow making me question why it is passed thru here. } else if (save_audio_config_p->achan[chan].modem_type == MODEM_EOTD) { - char nmea[300]; - eotd_to_text (fbuf, flen, nmea, sizeof(nmea)); - char monfmt[276]; - snprintf (monfmt, sizeof(monfmt), "EOTD>%s%1d%1d:{%c%c%s", APP_TOCALL, MAJOR_VERSION, MINOR_VERSION, USER_DEF_USER_ID, USER_DEF_TYPE_EOTD, nmea); + char text[1024]; + eotd_to_text (fbuf, flen, text, sizeof(text)); + char monfmt[1024]; + snprintf (monfmt, sizeof(monfmt), "EOTD>%s%1d%1d:{%c%c%s", APP_TOCALL, MAJOR_VERSION, MINOR_VERSION, USER_DEF_USER_ID, USER_DEF_TYPE_EOTD, text); pp = ax25_from_text (monfmt, 1); } else {