From d0499478017be536eb8d17d963ced01e9b45f543 Mon Sep 17 00:00:00 2001 From: Grissiom Date: Sat, 18 Sep 2010 21:30:02 +0800 Subject: event_fire( 0 ); => event_fire( NULL ); --- input.c | 2 +- parser.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/input.c b/input.c index bd782eaf..b0ebc0c6 100644 --- a/input.c +++ b/input.c @@ -293,7 +293,7 @@ static int interrupt_handler() /* Fire any pending events */ - event_fire( 0 ); + event_fire( NULL ); /* Reap stray processes, including printing exit status messages diff --git a/parser.c b/parser.c index 54560cdf..e3fc738d 100644 --- a/parser.c +++ b/parser.c @@ -2538,7 +2538,7 @@ int eval( const wchar_t *cmd, io_data_t *io, int block_type ) error_code = 0; - event_fire( 0 ); + event_fire( NULL ); while( tok_has_next( current_tokenizer ) && !error_code && @@ -2546,7 +2546,7 @@ int eval( const wchar_t *cmd, io_data_t *io, int block_type ) !exit_status() ) { eval_job( current_tokenizer ); - event_fire( 0 ); + event_fire( NULL ); } int prev_block_type = current_block->type; -- cgit v1.2.3