Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mathis Rosenhauer
libaec
Commits
98f41b09
Commit
98f41b09
authored
Feb 04, 2014
by
Mathis Rosenhauer
Browse files
drop .aec extension in favor of ccsds .rz
parent
d8286da3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/aec.c
View file @
98f41b09
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment