From: Harlan Stenn Date: Mon, 27 Oct 2008 07:20:45 +0000 (-0500) Subject: [Bug 1078] statsdir configuration parsing is broken X-Git-Tag: NTP_4_2_5P136~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=540b2c094144800f4d954426d638853c37f16f59;p=thirdparty%2Fntp.git [Bug 1078] statsdir configuration parsing is broken bk: 49056bcdkzDqTzznunMXQgVZEj4i_g --- diff --git a/ChangeLog b/ChangeLog index 9d7e04853..8e825ab00 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 30fbb2577..98a884372 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)