diff options
Diffstat (limited to 'colm/tree.c')
-rw-r--r-- | colm/tree.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/colm/tree.c b/colm/tree.c index 767dc35d..341aad8d 100644 --- a/colm/tree.c +++ b/colm/tree.c @@ -2052,7 +2052,10 @@ void appendFile( struct ColmPrintArgs *args, const char *data, int length ) void appendFd( struct ColmPrintArgs *args, const char *data, int length ) { - write( (long)args->arg, data, length ); + int res = write( (long)args->arg, data, length ); + if ( res != 0 ) { + message( "write error\n" ); + } } Tree *treeTrim( struct ColmProgram *prg, Tree **sp, Tree *tree ) |