httpd: round down sendfile byte count to 64k

*: style fixes
This commit is contained in:
Denis Vlasenko
2007-08-13 11:09:30 +00:00
parent f5635f4d32
commit 319f8ebef8
5 changed files with 8 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ int ttysize_main(int argc, char **argv)
{
unsigned w,h;
struct winsize wsz;
w = 80;
h = 24;
if (!ioctl(0, TIOCGWINSZ, &wsz)) {