]> git.ipfire.org Git - thirdparty/ntp.git/commit
Fix off-by-one bug in format_time_fraction() introduced by hart@ntp.org.
authorDave Hart <hart@ntp.org>
Wed, 26 Jan 2011 16:50:03 +0000 (16:50 +0000)
committerDave Hart <hart@ntp.org>
Wed, 26 Jan 2011 16:50:03 +0000 (16:50 +0000)
commitdc9cf4e5a72d8ac99433950847be4e9ebf3d413c
tree60a40200a00b13a393401a3be1376d2a4d2c7936
parentbf5951b8ba15d15edc7ddf271b4d8f9a654990a9
Fix off-by-one bug in format_time_fraction() introduced by hart@ntp.org.
Remove abs(prec) <= 9 requirement from format_time_fraction().
Add more time{spec|val}_tostr() tests.

bk: 4d4050bbhFJeWxtWxx9_y5W7N_xN3A
include/timetoa.h
libntp/timetoa.c
tests/libntp/tspecops.cpp
tests/libntp/tvalops.cpp