From: Harlan Stenn Date: Mon, 27 Oct 2008 07:20:45 +0000 (-0500) Subject: [Bug 1078] statsdir configuration parsing is broken X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d97f52bf22889ac1105bf0909ab48f41cd787273;p=thirdparty%2Fntp.git [Bug 1078] statsdir configuration parsing is broken bk: 49056bcdkzDqTzznunMXQgVZEj4i_g --- diff --git a/ChangeLog b/ChangeLog index 9d7e04853c..8e825ab004 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 1078] statsdir configuration parsing is broken. (4.2.5p135) 2008/09/23 Released by Harlan Stenn * [Bug 1072] clock_update should not allow updates older than sys_epoch. (4.2.5p134) 2008/09/17 Released by Harlan Stenn diff --git a/ntpd/ntp_util.c b/ntpd/ntp_util.c index 30fbb25771..98a8843722 100644 --- a/ntpd/ntp_util.c +++ b/ntpd/ntp_util.c @@ -416,7 +416,7 @@ stats_config( if (value_l == 0) add_dir_sep = 0; else - add_dir_sep = (DIR_SEP == + add_dir_sep = (DIR_SEP != value[value_l - 1]); if (add_dir_sep)