The branch, master has been updated
       via  b8282a2 Fix bug #3185 - testparm exits 0 if it can read the config 
file regardless of errors
      from  88a2ad2 s4/kdc - fix a warning regarding a changed parameter type 
(kvno)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit b8282a29f9983810d9c36607602d6974344a8197
Author: Holger Hetterich <[email protected]>
Date:   Fri Dec 3 16:43:47 2010 -0800

    Fix bug #3185 - testparm exits 0 if it can read the config file regardless 
of errors
    
    Autobuild-User: Jeremy Allison <[email protected]>
    Autobuild-Date: Sat Dec  4 02:30:00 CET 2010 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 lib/util/params.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/util/params.c b/lib/util/params.c
index 8d17e0d..45fcd5b 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.       */


-- 
Samba Shared Repository

Reply via email to