From: Harlan Stenn Date: Thu, 17 Apr 2003 10:20:30 +0000 (-0400) Subject: If we're debugging, emit Version first. X-Git-Tag: NTP_4_1_1C_RC2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2818a60c0269ee21f44fdc48be9f7135c2f71730;p=thirdparty%2Fntp.git If we're debugging, emit Version first. bk: 3e9e7feeoqNDiqoac5jaATRkX1SlBA --- diff --git a/ntpd/ntpd.c b/ntpd/ntpd.c index ad2c73b39..b8e89d587 100644 --- a/ntpd/ntpd.c +++ b/ntpd/ntpd.c @@ -384,6 +384,9 @@ ntpdmain( #endif getstartup(argc, argv); /* startup configuration, may set debug */ + if (debug) + printf("%s\n", Version); + /* * Initialize random generator and public key pair */