Change the wording of the DirCache warning

This commit is contained in:
Dominique Ingoglia 2018-02-10 14:33:14 -07:00 committed by teor
parent ac44e70ffc
commit 8747afc5e0
No known key found for this signature in database
GPG Key ID: 10FEAA0E7075672A

View File

@ -4714,8 +4714,7 @@ have_enough_mem_for_dircache(const or_options_t *options, size_t total_mem,
} else { } else {
if (total_mem >= DIRCACHE_MIN_MEM_BYTES) { if (total_mem >= DIRCACHE_MIN_MEM_BYTES) {
*msg = tor_strdup("DirCache is disabled and we are configured as a " *msg = tor_strdup("DirCache is disabled and we are configured as a "
"relay. This may disqualify us from becoming a guard in the " "relay. Many client versions will not choose us as a guard. ");
"future.");
} }
} }
return *msg == NULL ? 0 : -1; return *msg == NULL ? 0 : -1;