Fix other small things that got lost in the merge:

- bde's change to includes section in getrpcent.3
- Lost comment in svc_run.c (the code here was actually the same since
  I had fixed the 'fds + 1' bug in my stuff at home before mailing
  Peter about it, but I didn't notce that he'd made a change to the
  comment right above the changed line).

Also pointed out by the ever vigilant: bde
This commit is contained in:
Bill Paul 1997-05-28 16:38:35 +00:00
parent 68eccc934b
commit 973ddb8378
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@
.Nm setrpcent
.Nd get RPC entry
.Sh SYNOPSIS
.Fd #include <netdb.h>
.Fd #include <rpc/rpc.h>
.Ft struct rpcent *
.Fn getrpcent void
.Ft struct rpcent *

View File

@ -30,7 +30,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)svc_run.c 1.1 87/10/13 Copyr 1984 Sun Micro";*/
/*static char *sccsid = "from: @(#)svc_run.c 2.1 88/07/29 4.0 RPCSRC";*/
static char *rcsid = "$Id: svc_run.c,v 1.4 1996/12/30 15:14:29 peter Exp $";
static char *rcsid = "$Id: svc_run.c,v 1.7 1997/02/22 15:01:32 peter Exp $";
#endif
/*
@ -79,7 +79,7 @@ svc_run()
free(fds);
continue;
default:
/* XXX What the hell?? what if fds == NULL?? */
/* if fds == NULL, select() can't return a result */
svc_getreqset2(fds, svc_maxfd + 1);
free(fds);
}