client: fix printing of negative poll in sources report again

This was broken in commit 3f51805e62.
This commit is contained in:
Miroslav Lichvar 2016-09-06 15:42:00 +02:00
parent 41eb5b79cb
commit 27b4c396d0

View file

@ -1997,7 +1997,7 @@ process_cmd_sources(char *line)
print_report("%c%c %-27s %2d %2d %3o %I %+S[%+S] +/- %S\n",
mode_ch, state_ch, name,
ntohs(reply.data.source_data.stratum),
ntohs(reply.data.source_data.poll),
(int16_t)ntohs(reply.data.source_data.poll),
ntohs(reply.data.source_data.reachability),
(unsigned long)ntohl(reply.data.source_data.since_sample),
UTI_FloatNetworkToHost(reply.data.source_data.latest_meas),