static int did_message = 0; /* set if we've already output a message */
- if ((hook = context_find(hook_name)) == (char *)0)
+ if ((hook = context_find(hook_name)) == NULL)
return (OK);
switch (pid = fork()) {
if (status != OK) {
if (did_message == 0) {
char *msghook;
- if ((msghook = context_find("msg-hook")) != (char *)0)
+ if ((msghook = context_find("msg-hook")) != NULL)
advise(NULL, msghook);
else {
char errbuf[BUFSIZ];