From 98f41b09e586b50d169f0741674b0e596f4256ed Mon Sep 17 00:00:00 2001 From: Mathis Rosenhauer Date: Tue, 4 Feb 2014 09:05:45 +0100 Subject: [PATCH] drop .aec extension in favor of ccsds .rz --- src/aec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/aec.c b/src/aec.c index f438b95..86e6a5b 100644 --- a/src/aec.c +++ b/src/aec.c @@ -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) -- 2.7.4