From 8684aff59c6e2b0643fa2061162049e359a568e1 Mon Sep 17 00:00:00 2001 From: aet Date: Wed, 3 Dec 2003 12:02:20 +0000 Subject: [PATCH] - 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 --- src/scconf/sclex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scconf/sclex.c b/src/scconf/sclex.c index 3950b8b6..959ef9b1 100644 --- a/src/scconf/sclex.c +++ b/src/scconf/sclex.c @@ -177,7 +177,7 @@ int scconf_lex_parse(scconf_parser * parser, const char *filename) parser->error = 1; snprintf(parser->emesg, sizeof(parser->emesg), "File %s can't be opened\n", filename); - return -1; + return 0; } buf_init(&bhan, fp, (char *) NULL); ret = scconf_lex_engine(parser, &bhan);