- Fixed a return value for new scconf_lex_parse

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1654 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
aet 2003-12-03 12:02:20 +00:00
parent dcce086a0e
commit 8684aff59c
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ int scconf_lex_parse(scconf_parser * parser, const char *filename)
parser->error = 1; parser->error = 1;
snprintf(parser->emesg, sizeof(parser->emesg), snprintf(parser->emesg, sizeof(parser->emesg),
"File %s can't be opened\n", filename); "File %s can't be opened\n", filename);
return -1; return 0;
} }
buf_init(&bhan, fp, (char *) NULL); buf_init(&bhan, fp, (char *) NULL);
ret = scconf_lex_engine(parser, &bhan); ret = scconf_lex_engine(parser, &bhan);