diff options
author | 2006-06-21 10:48:36 +1000 | |
---|---|---|
committer | 2006-06-21 10:48:36 +1000 | |
commit | b016438c08877cb3b24808d260397a8aa8fe49ce (patch) | |
tree | 7d8879449234a75e28b4295725a3df411dcbb3aa /exec.c | |
parent | 7268a4a4e0ddb8ed10df20005cd78c90e900802f (diff) |
Update input validation. Always use the magic CHECK macro, which prints an error message including instructions on how to report this problem.
darcs-hash:20060621004836-ac50b-a47f296634eda0c469eb39034603015b1ad7ab5c.gz
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -652,12 +652,8 @@ void exec( job_t *j ) */ int exec_error=0; - if( !j ) - { - debug( 0, L"%s called with null input", __func__ ); - return; - } - + CHECK( j, ); + if( no_exec ) return; |