Sometimes it's amazing these haven't been turned
up by other compilers.
This commit is contained in:
parent
6e9a344ddd
commit
d99b2f34e6
3 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue