summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2018-01-06 15:02:12 -0500
committerRoger Dingledine <arma@torproject.org>2018-01-06 15:02:12 -0500
commit94ec5af5fe5117eb1294f0fafd527e7758ef37d8 (patch)
tree9a289e37a65601ecaa40d7142c48188140d29b36 /src/or/config.c
parent4f83d6d6ad336268d5befd757301c894e5072e1e (diff)
downloadtor-94ec5af5fe5117eb1294f0fafd527e7758ef37d8.tar.gz
tor-94ec5af5fe5117eb1294f0fafd527e7758ef37d8.zip
whitespace and typo fixes
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 4b0a59fdf7..796c15d9f7 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -3279,7 +3279,7 @@ options_validate(or_options_t *old_options, or_options_t *options,
if (options->Nickname == NULL) {
if (server_mode(options)) {
- options->Nickname = tor_strdup(UNNAMED_ROUTER_NICKNAME);
+ options->Nickname = tor_strdup(UNNAMED_ROUTER_NICKNAME);
}
} else {
if (!is_legal_nickname(options->Nickname)) {
@@ -3299,9 +3299,9 @@ options_validate(or_options_t *old_options, or_options_t *options,
/* Special case on first boot if no Log options are given. */
if (!options->Logs && !options->RunAsDaemon && !from_setconf) {
if (quiet_level == 0)
- config_line_append(&options->Logs, "Log", "notice stdout");
+ config_line_append(&options->Logs, "Log", "notice stdout");
else if (quiet_level == 1)
- config_line_append(&options->Logs, "Log", "warn stdout");
+ config_line_append(&options->Logs, "Log", "warn stdout");
}
/* Validate the tor_log(s) */