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 {