aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-10-31 16:33:12 -0400
committerNick Mathewson <nickm@torproject.org>2016-10-31 16:33:12 -0400
commit68a27dad4368b661f5b05d7660f6a96d03c7ea48 (patch)
tree6055faa10915bc876602f001cf35d9b134995a95 /src/common
parent1d76d389033e09645ff746c2d2c449ea5af098a3 (diff)
parente712b5d784db912f7924f090b918888125aa6bcf (diff)
downloadtor-68a27dad4368b661f5b05d7660f6a96d03c7ea48.tar.gz
tor-68a27dad4368b661f5b05d7660f6a96d03c7ea48.zip
Merge branch 'maint-0.2.9'
Diffstat (limited to 'src/common')
-rw-r--r--src/common/compat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 3fde2b3089..4f2f9778f2 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -2818,6 +2818,7 @@ compute_num_cpus(void)
"will not autodetect any more than %d, though. If you "
"want to configure more, set NumCPUs in your torrc",
num_cpus, MAX_DETECTABLE_CPUS);
+ num_cpus = MAX_DETECTABLE_CPUS;
/* LCOV_EXCL_STOP */
}
}