diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-05-20 09:28:48 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-05-20 09:28:48 +0000 |
commit | a1bb22e082bc6c044f3cc6766b287df2dd17a740 (patch) | |
tree | d29be391ee57e76030c25bc21c6f8752de20dfb3 /usr.sbin/ntpd/ntp.c | |
parent | 3b7ec84b5ee80f37de3b360cc79ffa81028d91ee (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