Deleted Added
full compact
svc_vc.c (90258) svc_vc.c (90271)
1/* $NetBSD: svc_vc.c,v 1.7 2000/08/03 00:01:53 fvdl Exp $ */
1/* $NetBSD: svc_vc.c,v 1.7 2000/08/03 00:01:53 fvdl Exp $ */
2/* $FreeBSD: head/lib/libc/rpc/svc_vc.c 90258 2002-02-05 19:31:16Z alfred $ */
2/* $FreeBSD: head/lib/libc/rpc/svc_vc.c 90271 2002-02-05 23:43:43Z alfred $ */
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.

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

124 u_int sendsize;
125 u_int recvsize;
126{
127 SVCXPRT *xprt;
128 struct cf_rendezvous *r = NULL;
129 struct __rpc_sockinfo si;
130 struct sockaddr_storage sslocal;
131 socklen_t slen;
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.

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

124 u_int sendsize;
125 u_int recvsize;
126{
127 SVCXPRT *xprt;
128 struct cf_rendezvous *r = NULL;
129 struct __rpc_sockinfo si;
130 struct sockaddr_storage sslocal;
131 socklen_t slen;
132 int one = 1;
133
134 r = mem_alloc(sizeof(*r));
135 if (r == NULL) {
136 warnx("svc_vc_create: out of memory");
137 goto cleanup_svc_vc_create;
138 }
139 if (!__rpc_fd2sockinfo(fd, &si))
140 return NULL;

--- 587 unchanged lines hidden ---
132
133 r = mem_alloc(sizeof(*r));
134 if (r == NULL) {
135 warnx("svc_vc_create: out of memory");
136 goto cleanup_svc_vc_create;
137 }
138 if (!__rpc_fd2sockinfo(fd, &si))
139 return NULL;

--- 587 unchanged lines hidden ---