Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.bin/tftp Pull up revision 1.14 (requested by itojun):
details: https://anonhg.NetBSD.org/src/rev/852afa6f715e
branches: netbsd-1-5
changeset: 490506:852afa6f715e
user: jhawk <jhawk%NetBSD.org@localhost>
date: Thu Jan 25 17:44:06 2001 +0000
description:
Pull up revision 1.14 (requested by itojun):
Fix argument validation error in setpeer().
diffstat:
usr.bin/tftp/main.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 586210ed97a8 -r 852afa6f715e usr.bin/tftp/main.c
--- a/usr.bin/tftp/main.c Thu Jan 25 17:39:25 2001 +0000
+++ b/usr.bin/tftp/main.c Thu Jan 25 17:44:06 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.12 1999/07/12 20:50:54 itojun Exp $ */
+/* $NetBSD: main.c,v 1.12.8.1 2001/01/25 17:44:06 jhawk Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -40,7 +40,7 @@
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: main.c,v 1.12 1999/07/12 20:50:54 itojun Exp $");
+__RCSID("$NetBSD: main.c,v 1.12.8.1 2001/01/25 17:44:06 jhawk Exp $");
#endif
#endif /* not lint */
@@ -254,7 +254,7 @@
printf("usage: %s host-name [port]\n", argv[0]);
return;
}
- if (argc == 3)
+ if (argc == 2)
setpeer0(argv[1], NULL);
else
setpeer0(argv[1], argv[2]);
Home |
Main Index |
Thread Index |
Old Index