From 8ab95db4216800e8cd094950d6fa938017f7f955 Mon Sep 17 00:00:00 2001 From: Holger Hetterich Date: Sat, 4 Dec 2010 18:18:50 +0100 Subject: [PATCH] Fix bso#3185, return false when EOF is encountered in param name. --- lib/util/params.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/util/params.c b/lib/util/params.c index 80adc71..376fed4 100644 --- a/lib/util/params.c +++ b/lib/util/params.c @@ -358,7 +358,7 @@ static bool Parameter( myFILE *InFile, bool (*pfunc)(const char *, const char *, case EOF: InFile->bufr[i] = '\0'; DEBUG(1,("%s Unexpected end-of-file at: %s\n", func, InFile->bufr )); - return( true ); + return( false ); default: if( isspace( c ) ) /* One ' ' per whitespace region. */ -- 1.7.1