X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/1a016bfdec2823c6d4e78a3dcc253cdfc30a10af..f9e940efc715a03d70791fd747993d56383706ff:/params.c diff --git a/params.c b/params.c index b89d034c..be019308 100644 --- a/params.c +++ b/params.c @@ -451,10 +451,11 @@ static BOOL Parse( FILE *InFile, break; case '[': /* Section Header. */ - if( !Section( InFile, sfunc ) ) - return( False ); - c = EatWhitespace( InFile ); - break; + if (!sfunc) return True; + if( !Section( InFile, sfunc ) ) + return( False ); + c = EatWhitespace( InFile ); + break; case '\\': /* Bogus backslash. */ c = EatWhitespace( InFile ); @@ -558,3 +559,4 @@ BOOL pm_process( char *FileName, } /* pm_process */ /* -------------------------------------------------------------------------- */ +