summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntp.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2015-05-20 09:28:48 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2015-05-20 09:28:48 +0000
commita1bb22e082bc6c044f3cc6766b287df2dd17a740 (patch)
treed29be391ee57e76030c25bc21c6f8752de20dfb3 /usr.sbin/ntpd/ntp.c
parent3b7ec84b5ee80f37de3b360cc79ffa81028d91ee (diff)
Use off_t instead of size_t to pass file size and print it using %lld when
constructing the Content-Length header field. Should fix some, but probably not all, problems with serving files bigger than 2G on 32-bit architectures. ok reyk@, florian@
Diffstat (limited to 'usr.sbin/ntpd/ntp.c')
0 files changed, 0 insertions, 0 deletions