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 | |
parent | f5635f4d327c7f4ce34026c64548585dd7b59ffc (diff) | |
download | busybox-w32-319f8ebef8a9e48cb74b220d4585552928549266.tar.gz busybox-w32-319f8ebef8a9e48cb74b220d4585552928549266.tar.bz2 busybox-w32-319f8ebef8a9e48cb74b220d4585552928549266.zip |
httpd: round down sendfile byte count to 64k
*: style fixes
Diffstat (limited to 'coreutils')
-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; | |||
45 | /* leap year -- account for Gregorian reformation in 1752 */ | 45 | /* leap year -- account for Gregorian reformation in 1752 */ |
46 | static int leap_year(unsigned yr) | 46 | static int leap_year(unsigned yr) |
47 | { | 47 | { |
48 | if (yr <= 1752) | 48 | if (yr <= 1752) |
49 | return !(yr % 4); | 49 | return !(yr % 4); |
50 | return (!(yr % 4) && (yr % 100)) || !(yr % 400); | 50 | return (!(yr % 4) && (yr % 100)) || !(yr % 400); |
51 | } | 51 | } |