Skip to content

Commit

Permalink
A TLE string may be 70 bytes long or not, depending on if it is zero-…
Browse files Browse the repository at this point in the history
…terminated, LF-terminated, or CR/LF-terminated. That assert() never should have been posted.
  • Loading branch information
Bill-Gray committed Feb 7, 2024
1 parent 7c29ffb commit 0de84fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tle_out.cpp
Expand Up @@ -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] == ' ')
Expand Down

0 comments on commit 0de84fb

Please sign in to comment.