diff options
author | rmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-19 18:07:26 +0000 |
---|---|---|
committer | rmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-19 18:07:26 +0000 |
commit | 94638747bd0b8156e14e8ae58af5b2e96aa17928 (patch) | |
tree | 05315098a5f4227683a29851d72500cbb228c523 | |
parent | 77a8a53e4b3a36e27acfabce41f753774d916d42 (diff) |
Restore fwrite() line so ast_expr2f.c can compile.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@247919 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | main/ast_expr2f.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/ast_expr2f.c b/main/ast_expr2f.c index 98db719ae..b05f97e7e 100644 --- a/main/ast_expr2f.c +++ b/main/ast_expr2f.c @@ -743,7 +743,7 @@ static int input (yyscan_t yyscanner ); /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ -#define ECHO (void) 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, |