mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
Fix two wide lines in config.c
This commit is contained in:
parent
01ac961ca1
commit
6a468a1722
1 changed files with 4 additions and 3 deletions
|
@ -829,7 +829,8 @@ validate_dir_servers(or_options_t *options, or_options_t *old_options)
|
||||||
/* do we want to complain to the user about being partitionable? */
|
/* do we want to complain to the user about being partitionable? */
|
||||||
if ((options->DirAuthorities &&
|
if ((options->DirAuthorities &&
|
||||||
(!old_options ||
|
(!old_options ||
|
||||||
!config_lines_eq(options->DirAuthorities, old_options->DirAuthorities))) ||
|
!config_lines_eq(options->DirAuthorities,
|
||||||
|
old_options->DirAuthorities))) ||
|
||||||
(options->AlternateDirAuthority &&
|
(options->AlternateDirAuthority &&
|
||||||
(!old_options ||
|
(!old_options ||
|
||||||
!config_lines_eq(options->AlternateDirAuthority,
|
!config_lines_eq(options->AlternateDirAuthority,
|
||||||
|
@ -1955,8 +1956,8 @@ resolve_my_address(int warn_severity, const or_options_t *options,
|
||||||
* always. */
|
* always. */
|
||||||
log_fn(warn_severity, LD_CONFIG,
|
log_fn(warn_severity, LD_CONFIG,
|
||||||
"Address '%s' resolves to private IP address '%s'. "
|
"Address '%s' resolves to private IP address '%s'. "
|
||||||
"Tor servers that use the default DirAuthorities must have public "
|
"Tor servers that use the default DirAuthorities must have "
|
||||||
"IP addresses.", hostname, addr_string);
|
"public IP addresses.", hostname, addr_string);
|
||||||
tor_free(addr_string);
|
tor_free(addr_string);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue