summaryrefslogtreecommitdiff
path: root/include/util_time.h
diff options
context:
space:
mode:
authorBrian Pane <brianp@apache.org>2002-07-11 16:08:58 +0000
committerBrian Pane <brianp@apache.org>2002-07-11 16:08:58 +0000
commit97b9c76435b138fb4be0f6dce8f8224e989a685d (patch)
tree32e72b2d94287e343e0538f4ca9eea691303eb11 /include/util_time.h
parent45aec24eded370b8568e0109a0dce0a54aba9c3f (diff)
downloadhttpd-97b9c76435b138fb4be0f6dce8f8224e989a685d.tar.gz
Strength-reduce a 64-bit "mod 16" operation to "& 0xf" in cached_explode()
just in case the compiler doesn't do it for us git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96012 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/util_time.h')
-rw-r--r--include/util_time.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/util_time.h b/include/util_time.h
index 00cacf6cf5..b4374878b5 100644
--- a/include/util_time.h
+++ b/include/util_time.h
@@ -70,6 +70,7 @@ extern "C" {
/* Maximum delta from the current time, in seconds, for a past time
* to qualify as "recent" for use in the ap_explode_recent_*() functions:
+ * (Must be a power of two minus one!)
*/
#define AP_TIME_RECENT_THRESHOLD 15