Commit 98f41b09 authored by Mathis Rosenhauer's avatar Mathis Rosenhauer
Browse files

drop .aec extension in favor of ccsds .rz

parent d8286da3
...@@ -180,16 +180,16 @@ int main(int argc, char *argv[]) ...@@ -180,16 +180,16 @@ int main(int argc, char *argv[])
if (dflag) if (dflag)
{ {
if ((ext = strstr(infn, ".aec")) == NULL) if ((ext = strstr(infn, ".rz")) == NULL)
{ {
fprintf(stderr, "Error: input file needs to end with .aec\n"); fprintf(stderr, "Error: input file needs to end with .rz\n");
exit(-1); exit(-1);
} }
strncpy(outfn, infn, ext - infn); strncpy(outfn, infn, ext - infn);
} }
else else
{ {
sprintf(outfn, "%s.aec", infn); sprintf(outfn, "%s.rz", infn);
} }
if ((outfp = fopen(outfn, "w")) == NULL) if ((outfp = fopen(outfn, "w")) == NULL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment