summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2021-05-07 10:41:34 -0400
committerNick Mathewson <nickm@torproject.org>2021-05-07 10:41:34 -0400
commit03f1983c63c4e8571964882c442a04e867545168 (patch)
tree665a0fec8e14ada44f1e722b6ea6464a966715c7
parent489d18508c8968dddc8893ccbf5a9651ffc95ea2 (diff)
parent7c86f34340acf7d8cf35501e71b03f2feba1245e (diff)
downloadtor-03f1983c63c4e8571964882c442a04e867545168.tar.gz
tor-03f1983c63c4e8571964882c442a04e867545168.zip
Merge branch 'maint-0.4.5' into release-0.4.5
-rw-r--r--changes/bug403803
-rw-r--r--src/core/or/circuituse.c8
2 files changed, 7 insertions, 4 deletions
diff --git a/changes/bug40380 b/changes/bug40380
new file mode 100644
index 0000000000..24d2876b7d
--- /dev/null
+++ b/changes/bug40380
@@ -0,0 +1,3 @@
+ o Minor bugfixes (compiler warnings):
+ - Fix an indentation problem that led to a warning from GCC 11.1.1.
+ Fixes bug 40380; bugfix on 0.3.0.1-alpha.
diff --git a/src/core/or/circuituse.c b/src/core/or/circuituse.c
index 0f3fc29361..059e43ec47 100644
--- a/src/core/or/circuituse.c
+++ b/src/core/or/circuituse.c
@@ -1320,10 +1320,10 @@ circuit_predict_and_launch_new(void)
if (router_have_consensus_path() == CONSENSUS_PATH_INTERNAL)
flags |= CIRCLAUNCH_IS_INTERNAL;
- log_info(LD_CIRC,
- "Have %d clean circs need another buildtime test circ.", num);
- circuit_launch(CIRCUIT_PURPOSE_C_GENERAL, flags);
- return;
+ log_info(LD_CIRC,
+ "Have %d clean circs need another buildtime test circ.", num);
+ circuit_launch(CIRCUIT_PURPOSE_C_GENERAL, flags);
+ return;
}
}