From 0de84fb55afca61cf8c595dbdd203b49635a6bb6 Mon Sep 17 00:00:00 2001 From: Bill-Gray Date: Wed, 7 Feb 2024 14:01:36 -0500 Subject: [PATCH] A TLE string may be 70 bytes long or not, depending on if it is zero-terminated, LF-terminated, or CR/LF-terminated. That assert() never should have been posted. --- tle_out.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/tle_out.cpp b/tle_out.cpp index 0c59060..50d9880 100644 --- a/tle_out.cpp +++ b/tle_out.cpp @@ -230,7 +230,6 @@ void DLL_FUNC write_elements_in_tle_format( char *buff, const tle_t *tle) norad_num_text, tle->classification, tle->intl_desig, year % 100L, day_of_year, tle->ephemeris_type, tle->bulletin_number); - assert( 70 == strlen( buff)); if( buff[20] == ' ') /* fill in leading zeroes for day of year */ buff[20] = '0'; if( buff[21] == ' ')