Sometimes it's amazing these haven't been turned

up by other compilers.
This commit is contained in:
rsc 2004-03-26 19:20:10 +00:00
parent 6e9a344ddd
commit d99b2f34e6
3 changed files with 4 additions and 2 deletions

View file

@ -69,7 +69,7 @@ notify(void (*f)(void*, char*))
struct sigaction sa;
memset(&sa, 0, sizeof sa);
if(f == nil)
if(f == 0)
sa.sa_handler = SIG_DFL;
else{
notifyf = f;