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
This commit is contained in:
axel
2006-06-21 10:48:36 +10:00
parent 7268a4a4e0
commit b016438c08
12 changed files with 139 additions and 224 deletions

8
exec.c
View File

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