diff options
author | Mike Perry <mikeperry-git@fscked.org> | 2010-06-01 22:10:22 -0700 |
---|---|---|
committer | Mike Perry <mikeperry-git@fscked.org> | 2010-06-09 00:22:17 -0700 |
commit | dc880924b7d861b551471ac543bd367ddab81070 (patch) | |
tree | f92561db12c0154f52a1d5d6edf9a66e587916a7 /src | |
parent | d76ebb79aa2e96664a028dda59f820bf80629128 (diff) | |
download | tor-dc880924b7d861b551471ac543bd367ddab81070.tar.gz tor-dc880924b7d861b551471ac543bd367ddab81070.zip |
Arma hates (\d+). Remove mine and some others.
Diffstat (limited to 'src')
-rw-r--r-- | src/or/or.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/or/or.h b/src/or/or.h index 7b1982ae2e..2d40b8233a 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -158,7 +158,7 @@ #define MAX_DNS_TTL (3*60*60) /** How small can a TTL be before we stop believing it? Provides rudimentary * pinning. */ -#define MIN_DNS_TTL (60) +#define MIN_DNS_TTL 60 /** How often do we rotate onion keys? */ #define MIN_ONION_KEY_LIFETIME (7*24*60*60) @@ -3027,7 +3027,7 @@ void entry_guards_free_all(void); #define CBT_BIN_WIDTH ((build_time_t)50) /** Number of modes to use in the weighted-avg computation of Xm */ -#define CBT_NUM_XM_MODES (3) +#define CBT_NUM_XM_MODES 3 /** A build_time_t is milliseconds */ typedef uint32_t build_time_t; @@ -3046,7 +3046,7 @@ typedef uint32_t build_time_t; * at which point we switch back to computing the timeout from * our saved history. */ -#define CBT_NETWORK_NONLIVE_TIMEOUT_COUNT (3) +#define CBT_NETWORK_NONLIVE_TIMEOUT_COUNT 3 /** * This tells us when to toss out the last streak of N timeouts. @@ -3838,7 +3838,7 @@ download_status_mark_impossible(download_status_t *dl) /********************************* dirserv.c ***************************/ /** Maximum length of an exit policy summary. */ -#define MAX_EXITPOLICY_SUMMARY_LEN (1000) +#define MAX_EXITPOLICY_SUMMARY_LEN 1000 /** Maximum allowable length of a version line in a networkstatus. */ #define MAX_V_LINE_LEN 128 @@ -4394,7 +4394,7 @@ int nt_service_parse_options(int argc, char **argv, int *should_exit); int nt_service_is_stopping(void); void nt_service_set_state(DWORD state); #else -#define nt_service_is_stopping() (0) +#define nt_service_is_stopping() 0 #endif /********************************* onion.c ***************************/ |