mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
use a more logical operator
Fix a harmless bug when opting against publishing a relay descriptor because DisableNetwork is set. Fixes bug 7464; bugfix on 0.2.3.9-alpha.
This commit is contained in:
parent
e567b4482a
commit
88bb48e785
4
changes/bug7464
Normal file
4
changes/bug7464
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
o Minor bugfixes:
|
||||||
|
- Fix a harmless bug when opting against publishing a relay descriptor
|
||||||
|
because DisableNetwork is set. Fixes bug 7464; bugfix on
|
||||||
|
0.2.3.9-alpha.
|
@ -1199,7 +1199,7 @@ run_scheduled_events(time_t now)
|
|||||||
if (router_rebuild_descriptor(1)<0) {
|
if (router_rebuild_descriptor(1)<0) {
|
||||||
log_info(LD_CONFIG, "Couldn't rebuild router descriptor");
|
log_info(LD_CONFIG, "Couldn't rebuild router descriptor");
|
||||||
}
|
}
|
||||||
if (advertised_server_mode() & !options->DisableNetwork)
|
if (advertised_server_mode() && !options->DisableNetwork)
|
||||||
router_upload_dir_desc_to_dirservers(0);
|
router_upload_dir_desc_to_dirservers(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user