diff options
Diffstat (limited to 'examples/tinyhttp.rs')
-rw-r--r-- | examples/tinyhttp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tinyhttp.rs b/examples/tinyhttp.rs index eaa40e6f..9bf3f27a 100644 --- a/examples/tinyhttp.rs +++ b/examples/tinyhttp.rs @@ -274,7 +274,7 @@ mod date { LAST.with(|cache| { let mut cache = cache.borrow_mut(); let now = time::get_time(); - if now > cache.next_update { + if now >= cache.next_update { cache.update(now); } f.write_str(cache.buffer()) |