From: Wouter Wijngaards Date: Fri, 17 Jun 2011 09:42:37 +0000 (+0000) Subject: tag 1.4.11rc1 X-Git-Tag: release-1.4.11rc2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f24f631838de8c947437ba4255e961e450eafc88;p=thirdparty%2Funbound.git tag 1.4.11rc1 git-svn-id: file:///svn/unbound/trunk@2431 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/util/configlexer.c b/util/configlexer.c index ff38854fd..a179e1ad6 100644 --- a/util/configlexer.c +++ b/util/configlexer.c @@ -1624,7 +1624,7 @@ static int input (void ); /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ -#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) +#define ECHO fwrite( yytext, yyleng, 1, yyout ) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, @@ -1635,7 +1635,7 @@ static int input (void ); if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ int c = '*'; \ - unsigned n; \ + int n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \