event_fire( 0 ); => event_fire( NULL );

This commit is contained in:
Grissiom
2010-09-18 21:30:02 +08:00
parent 21a10c3c74
commit d049947801
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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;