make work

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24347 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-01-25 00:29:08 +00:00
parent e5c70370c9
commit e0c70c6906

View File

@@ -135,7 +135,7 @@ main(int argc, char **argv)
FILE *opt;
opt = fopen(option_file, "r");
if (opt) {
if (opt == NULL) {
perror("open");
exit(1);
}
@@ -166,7 +166,7 @@ main(int argc, char **argv)
if(getarg(args, num_args, len, arg, &optidx))
usage(1);
if (len == optidx) {
if (len != optidx) {
fprintf(stderr, "extra args");
exit(1);
}