summaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.statd
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-07-11 17:39:50 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-07-11 17:39:50 +0000
commita2015ce534d511509864a42b4b6b0bf311482f2e (patch)
tree79263cc99a6d51a1c9e604c3a49bb6ed771f1f40 /usr.sbin/rpc.statd
parent51c8727aa7397bf88d9fb477194901b5ecb1e544 (diff)
Notes
Diffstat (limited to 'usr.sbin/rpc.statd')
-rw-r--r--usr.sbin/rpc.statd/procs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rpc.statd/procs.c b/usr.sbin/rpc.statd/procs.c
index 2db706f843de..bbe9d4a02f65 100644
--- a/usr.sbin/rpc.statd/procs.c
+++ b/usr.sbin/rpc.statd/procs.c
@@ -374,16 +374,16 @@ void *sm_notify_1_svc(stat_chge *arg, struct svc_req *req)
{
/* Never heard of this host - why is it notifying us? */
syslog(LOG_ERR, "Unsolicited notification from host %s", arg->mon_name);
- return;
+ return (&dummy);
}
lp = hp->monList;
- if (!lp) return (FALSE); /* We know this host, but have no */
+ if (!lp) return (&dummy); /* We know this host, but have no */
/* outstanding requests. */
pid = fork();
if (pid == -1)
{
syslog(LOG_ERR, "Unable to fork notify process - %s", strerror(errno));
- return;
+ return (NULL); /* no answer, the client will retry */
}
if (pid) return (&dummy); /* Parent returns */