]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
tag 1.4.11rc1
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 17 Jun 2011 09:42:37 +0000 (09:42 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 17 Jun 2011 09:42:37 +0000 (09:42 +0000)
git-svn-id: file:///svn/unbound/trunk@2431 be551aaa-1e26-0410-a405-d3ace91eadb9

util/configlexer.c

index ff38854fd1b3c5c014fc178ab391ca43d23ebe6e..a179e1ad6717c960a3e3b6f2102e7e42ba0ea936 100644 (file)
@@ -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; \