mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-14 01:37:25 -05:00
Merge pull request #39 from lwvmobile/lwvmobile-patch-3
Fix to MBE filenames for IMBE types
This commit is contained in:
@@ -242,7 +242,7 @@ closeMbeOutFile (dsd_opts * opts, dsd_state * state)
|
||||
strftime (datestr, 31, "%Y-%m-%d-%H%M%S", &timep);
|
||||
|
||||
sprintf (newfilename, "%s%s", datestr, ext); //this one
|
||||
if (state->lastsynctype == 0 || state->lastsynctype)
|
||||
if (state->lastsynctype == 0 || state->lastsynctype == 1)
|
||||
{
|
||||
sprintf (newfilename, "%s-nac%X-tg%i%s", datestr, state->nac, talkgroup, ext);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user