[ntpsec commit] Repair breakage in npdig intoduxed while banishing autogen.

Eric S. Raymond esr at ntpsec.org
Wed Oct 14 17:34:36 UTC 2015


Module:    ntpsec
Branch:    master
Commit:    e0e37834c2ce4c218dc4c220ec98c6e2ca9f82e0
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=e0e37834c2ce4c218dc4c220ec98c6e2ca9f82e0

Author:    Eric S. Raymond <esr at thyrsus.com>
Date:      Wed Oct 14 13:34:27 2015 -0400

Repair breakage in npdig intoduxed while banishing autogen.

---

 ntpdig/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ntpdig/main.c b/ntpdig/main.c
index 3e74b53..bc77f83 100644
--- a/ntpdig/main.c
+++ b/ntpdig/main.c
@@ -371,7 +371,7 @@ ntpdig_main (
 		handle_lookup(opt_concurrent, CTX_UCST | CTX_CONC);
 	}
 
-	for (i = ntp_optind; i < argc; ++i)
+	for (i = 0; i < argc; ++i)
 		handle_lookup(argv[i], CTX_UCST);
 
 	gettimeofday_cached(base, &start_tv);



More information about the vc mailing list