summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-12-10 08:27:01 +0000
committerRoger Dingledine <arma@torproject.org>2005-12-10 08:27:01 +0000
commit9b0a40ec7866005928e49b4717d626e64057c331 (patch)
tree0fe396d96f05202b3aa6af2cfc493e2c732c2d25 /src/or/config.c
parent0a0f5952e8c6bc8ce514ecba084ea6412f91c625 (diff)
downloadtor-9b0a40ec7866005928e49b4717d626e64057c331.tar.gz
tor-9b0a40ec7866005928e49b4717d626e64057c331.zip
crank the max line limit down to 150 chars.
svn:r5550
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 0f2c0afdc8..5fb06a6182 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1987,7 +1987,8 @@ options_validate(or_options_t *old_options, or_options_t *options)
options->DirFetchPeriod = MAX_CACHE_DIR_FETCH_PERIOD;
}
if (options->StatusFetchPeriod > MAX_CACHE_STATUS_FETCH_PERIOD) {
- log(LOG_WARN, LD_CONFIG, "Caching directory servers must have StatusFetchPeriod less than %d seconds. Clipping.", MAX_CACHE_STATUS_FETCH_PERIOD);
+ log(LOG_WARN, LD_CONFIG, "Caching directory servers must have StatusFetchPeriod less than %d seconds. Clipping.",
+ MAX_CACHE_STATUS_FETCH_PERIOD);
options->StatusFetchPeriod = MAX_CACHE_STATUS_FETCH_PERIOD;
}
}
@@ -2169,7 +2170,8 @@ options_transition_allowed(or_options_t *old, or_options_t *new_val)
}
if (strcmp(old->DataDirectory,new_val->DataDirectory)!=0) {
- warn(LD_CONFIG,"While Tor is running, changing DataDirectory (\"%s\"->\"%s\") is not allowed. Failing.", old->DataDirectory, new_val->DataDirectory);
+ warn(LD_CONFIG,"While Tor is running, changing DataDirectory (\"%s\"->\"%s\") is not allowed. Failing.",
+ old->DataDirectory, new_val->DataDirectory);
return -1;
}
@@ -3345,7 +3347,9 @@ init_libevent(void)
get_options()->ORPort != 0);
#else
log(LOG_NOTICE, LD_GENERAL, "Initialized old libevent (version 1.0b or earlier).");
- log(LOG_WARN, LD_GENERAL, "You have a very old version of libevent. It is likely to be buggy; please consider building Tor with a more recent version.");
+ log(LOG_WARN, LD_GENERAL,
+ "You have a very old version of libevent. It is likely to be buggy; "
+ "please consider building Tor with a more recent version.");
#endif
return 0;