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? */
|
||||
if ((options->DirAuthorities &&
|
||||
(!old_options ||
|
||||
!config_lines_eq(options->DirAuthorities, old_options->DirAuthorities))) ||
|
||||
!config_lines_eq(options->DirAuthorities,
|
||||
old_options->DirAuthorities))) ||
|
||||
(options->AlternateDirAuthority &&
|
||||
(!old_options ||
|
||||
!config_lines_eq(options->AlternateDirAuthority,
|
||||
|
@ -1955,8 +1956,8 @@ resolve_my_address(int warn_severity, const or_options_t *options,
|
|||
* always. */
|
||||
log_fn(warn_severity, LD_CONFIG,
|
||||
"Address '%s' resolves to private IP address '%s'. "
|
||||
"Tor servers that use the default DirAuthorities must have public "
|
||||
"IP addresses.", hostname, addr_string);
|
||||
"Tor servers that use the default DirAuthorities must have "
|
||||
"public IP addresses.", hostname, addr_string);
|
||||
tor_free(addr_string);
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue