diff options
author | Mathis Rosenhauer <rosenhauer@dkrz.de> | 2014-02-04 09:05:45 +0100 |
---|---|---|
committer | Mathis Rosenhauer <rosenhauer@dkrz.de> | 2014-02-04 09:05:45 +0100 |
commit | 98f41b09e586b50d169f0741674b0e596f4256ed (patch) | |
tree | 3bf02d7e997750ebdc87f5347f2cf9d921e577a6 /src | |
parent | d8286da3836bc8ed8613506ad17d6292c24e9b57 (diff) | |
download | libaec-98f41b09e586b50d169f0741674b0e596f4256ed.tar.gz libaec-98f41b09e586b50d169f0741674b0e596f4256ed.tar.bz2 libaec-98f41b09e586b50d169f0741674b0e596f4256ed.zip |
drop .aec extension in favor of ccsds .rz
Diffstat (limited to 'src')
-rw-r--r-- | src/aec.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -180,16 +180,16 @@ int main(int argc, char *argv[]) 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); } strncpy(outfn, infn, ext - infn); } else { - sprintf(outfn, "%s.aec", infn); + sprintf(outfn, "%s.rz", infn); } if ((outfp = fopen(outfn, "w")) == NULL) |