summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-02-09 00:14:45 -0500
committerNick Mathewson <nickm@torproject.org>2013-02-09 00:16:04 -0500
commitd86a45f991693cf2367a6ccb94fc29c22f5f7b45 (patch)
treeb369a86d438d8541cdf5e03c9e6f03b464c20375 /src/or/or.h
parent561e9becbd1f896c31112ab2dfd56fe7badc9382 (diff)
downloadtor-d86a45f991693cf2367a6ccb94fc29c22f5f7b45.tar.gz
tor-d86a45f991693cf2367a6ccb94fc29c22f5f7b45.zip
Wrap more macro definitions in (parentheses)
To avoid surprises, good coding practice suggests parenthesizing every macro definition -- or at the very least, all those involving an expression.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index a0a921a9f4..04640d050a 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -4586,12 +4586,12 @@ typedef struct rend_encoded_v2_service_descriptor_t {
* sooner.)
*
* XXX023 Should this be configurable? */
-#define INTRO_POINT_LIFETIME_MIN_SECONDS 18*60*60
+#define INTRO_POINT_LIFETIME_MIN_SECONDS (18*60*60)
/** The maximum number of seconds that an introduction point will last
* before expiring due to old age.
*
* XXX023 Should this be configurable? */
-#define INTRO_POINT_LIFETIME_MAX_SECONDS 24*60*60
+#define INTRO_POINT_LIFETIME_MAX_SECONDS (24*60*60)
/** Introduction point information. Used both in rend_service_t (on
* the service side) and in rend_service_descriptor_t (on both the