X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=oldrecover-src%2Fuscan.c;h=6e02e6266612fc4eaea7f664f355c64b81ddbaa2;hb=refs%2Ftags%2Fupstream%2F3.3.1;hp=923f357e5236b3277c1cc8ea77e36636284e5f9e;hpb=cd0b924f27312d57bd42f6c4fae2b795139e2d0b;p=debian%2Famanda diff --git a/oldrecover-src/uscan.c b/oldrecover-src/uscan.c index 923f357..6e02e62 100644 --- a/oldrecover-src/uscan.c +++ b/oldrecover-src/uscan.c @@ -679,7 +679,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 fwrite( yytext, yyleng, 1, yyout ) +#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,