[Git][NTPsec/ntpsec][master] Remove a remnant of the failed replay-mode attempt.

Eric S. Raymond gitlab at mg.gitlab.com
Wed Nov 23 16:57:32 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
fbf291d3 by Eric S. Raymond at 2016-11-23T11:56:51-05:00
Remove a remnant of the failed replay-mode attempt.

- - - - -


3 changed files:

- include/ntp_syslog.h
- libntp/msyslog.c
- libntp/pymodule.c


Changes:

=====================================
include/ntp_syslog.h
=====================================
--- a/include/ntp_syslog.h
+++ b/include/ntp_syslog.h
@@ -12,7 +12,6 @@
 
 extern bool	syslogit;	/* log to syslogit */
 extern bool	termlogit;	/* duplicate to stdout/err */
-extern bool	hashprefix;	/* prefix with comment leader */
 extern bool	termlogit_pid;
 extern bool	msyslog_include_timestamp;
 extern FILE *	syslog_file;	/* if syslogit is false, log to


=====================================
libntp/msyslog.c
=====================================
--- a/libntp/msyslog.c
+++ b/libntp/msyslog.c
@@ -18,7 +18,6 @@
 
 bool	syslogit = true;	/* log messages to syslog */
 bool	termlogit = false;	/* duplicate to stdout/err */
-bool	hashprefix = false;	/* prefix with hash, for repolay use */
 bool	termlogit_pid = true;
 bool	msyslog_include_timestamp = true;
 FILE *	syslog_file;
@@ -169,8 +168,6 @@ addto_syslog(
 		term_file = (level <= LOG_ERR)
 				? stderr
 				: stdout;
-		if (hashprefix)
-			fputc('#', term_file);
 		if (msyslog_include_timestamp)
 			fprintf(term_file, "%s ", human_time);
 		if (termlogit_pid)


=====================================
libntp/pymodule.c
=====================================
--- a/libntp/pymodule.c
+++ b/libntp/pymodule.c
@@ -49,7 +49,6 @@ ntpc_setprogname(PyObject *self, PyObject *args)
      */
     syslogit = false;	/* don't log messages to syslog */
     termlogit = true;	/* duplicate to stdout/err */
-    hashprefix = false;	/* prefix with hash, for replay use */
     termlogit_pid = false;
     msyslog_include_timestamp = false;
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/fbf291d31a1a2795c94a0f78891261f84a4e6420
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161123/a199ef36/attachment.html>


More information about the vc mailing list