diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-13 11:09:30 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-13 11:09:30 +0000 |
commit | 319f8ebef8a9e48cb74b220d4585552928549266 (patch) | |
tree | a6f292129a04b9eba6d2a2aef353e49e8b5a14e0 /coreutils/cal.c | |
parent | f5635f4d327c7f4ce34026c64548585dd7b59ffc (diff) |
httpd: round down sendfile byte count to 64k
*: style fixes
Diffstat (limited to 'coreutils/cal.c')
-rw-r--r-- | coreutils/cal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cal.c b/coreutils/cal.c index 37aca00bb..317099385 100644 --- a/coreutils/cal.c +++ b/coreutils/cal.c @@ -45,7 +45,7 @@ static unsigned julian; /* leap year -- account for Gregorian reformation in 1752 */ static int leap_year(unsigned yr) { - if (yr <= 1752) + if (yr <= 1752) return !(yr % 4); return (!(yr % 4) && (yr % 100)) || !(yr % 400); } |