Deleted Added
full compact
rpcb_svc_com.c (104592) rpcb_svc_com.c (108470)
1/* $NetBSD: rpcb_svc_com.c,v 1.6 2000/08/03 00:07:22 fvdl Exp $ */
1/* $NetBSD: rpcb_svc_com.c,v 1.6 2000/08/03 00:07:22 fvdl Exp $ */
2/* $FreeBSD: head/usr.sbin/rpcbind/rpcb_svc_com.c 104592 2002-10-07 02:56:59Z alfred $ */
2/* $FreeBSD: head/usr.sbin/rpcbind/rpcb_svc_com.c 108470 2002-12-30 21:18:15Z schweikh $ */
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.

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

938
939 min_time = FINFO[0].time;
940 time_now = time((time_t *)0);
941 /* initialization */
942 if (lastxid == 0)
943 lastxid = time_now * NFORWARD;
944
945 /*
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.

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

938
939 min_time = FINFO[0].time;
940 time_now = time((time_t *)0);
941 /* initialization */
942 if (lastxid == 0)
943 lastxid = time_now * NFORWARD;
944
945 /*
946 * Check if it is an duplicate entry. Then,
946 * Check if it is a duplicate entry. Then,
947 * try to find an empty slot. If not available, then
948 * use the slot with the earliest time.
949 */
950 for (i = 0; i < NFORWARD; i++) {
951 if (FINFO[i].flag & FINFO_ACTIVE) {
952 if ((FINFO[i].caller_xid == caller_xid) &&
953 (FINFO[i].reply_type == reply_type) &&
954 (FINFO[i].versnum == versnum) &&

--- 509 unchanged lines hidden ---
947 * try to find an empty slot. If not available, then
948 * use the slot with the earliest time.
949 */
950 for (i = 0; i < NFORWARD; i++) {
951 if (FINFO[i].flag & FINFO_ACTIVE) {
952 if ((FINFO[i].caller_xid == caller_xid) &&
953 (FINFO[i].reply_type == reply_type) &&
954 (FINFO[i].versnum == versnum) &&

--- 509 unchanged lines hidden ---