Deleted Added
sdiff udiff text old ( 75094 ) new ( 90271 )
full compact
1/* $NetBSD: svc_simple.c,v 1.20 2000/07/06 03:10:35 christos Exp $ */
2/* $FreeBSD: head/lib/libc/rpc/svc_simple.c 75094 2001-04-02 21:41:44Z iedowse $ */
3
4/*
5 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
6 * unrestricted use provided that this legend is included on all tape
7 * media and as a part of the software program in whole or part. Users
8 * may copy or modify Sun RPC without charge, but are not authorized
9 * to license or distribute it to anyone else except as part of a product or
10 * program developed by the user.

--- 117 unchanged lines hidden (view full) ---

128 SVCXPRT *svcxprt;
129 int madenow;
130 u_int recvsz;
131 char *xdrbuf;
132 char *netid;
133
134 madenow = FALSE;
135 svcxprt = NULL;
136 for (pl = proglst; pl; pl = pl->p_nxt)
137 if (strcmp(pl->p_netid, nconf->nc_netid) == 0) {
138 svcxprt = pl->p_transp;
139 xdrbuf = pl->p_xdrbuf;
140 recvsz = pl->p_recvsz;
141 netid = pl->p_netid;
142 break;
143 }
144
145 if (svcxprt == NULL) {
146 struct __rpc_sockinfo si;
147
148 svcxprt = svc_tli_create(RPC_ANYFD, nconf, NULL, 0, 0);
149 if (svcxprt == NULL)
150 continue;
151 if (!__rpc_fd2sockinfo(svcxprt->xp_fd, &si)) {

--- 156 unchanged lines hidden ---