Deleted Added
full compact
ypxfrd_main.c (69793) ypxfrd_main.c (90297)
1/*
2 * Copyright (c) 1995, 1996
3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 */
32
33#ifndef lint
34static const char rcsid[] =
1/*
2 * Copyright (c) 1995, 1996
3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 */
32
33#ifndef lint
34static const char rcsid[] =
35 "$FreeBSD: head/usr.sbin/rpc.ypxfrd/ypxfrd_main.c 69793 2000-12-09 09:35:55Z obrien $";
35 "$FreeBSD: head/usr.sbin/rpc.ypxfrd/ypxfrd_main.c 90297 2002-02-06 13:30:31Z des $";
36#endif /* not lint */
37
38#include "ypxfrd.h"
39#include <err.h>
40#include <fcntl.h>
41#include <paths.h>
42#include <stdio.h>
43#include <stdlib.h> /* getenv, exit */

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

199 register SVCXPRT *transp = NULL;
200 int sock;
201 int proto = 0;
202 struct sockaddr_in saddr;
203 int asize = sizeof (saddr);
204 int ch;
205
206 while ((ch = getopt(argc, argv, "p:h")) != -1) {
36#endif /* not lint */
37
38#include "ypxfrd.h"
39#include <err.h>
40#include <fcntl.h>
41#include <paths.h>
42#include <stdio.h>
43#include <stdlib.h> /* getenv, exit */

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

199 register SVCXPRT *transp = NULL;
200 int sock;
201 int proto = 0;
202 struct sockaddr_in saddr;
203 int asize = sizeof (saddr);
204 int ch;
205
206 while ((ch = getopt(argc, argv, "p:h")) != -1) {
207 switch(ch) {
207 switch (ch) {
208 case 'p':
209 yp_dir = optarg;
210 break;
211 default:
212 usage();
213 break;
214 }
215 }

--- 90 unchanged lines hidden ---
208 case 'p':
209 yp_dir = optarg;
210 break;
211 default:
212 usage();
213 break;
214 }
215 }

--- 90 unchanged lines hidden ---