mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
Set torrc_fname in load_torrc_from_disk
Bugfix on commit 230422b955
, not yet in any
release. Fixes bug #4604; reported by koolfy.
This commit is contained in:
parent
83f66db79e
commit
4150d92eea
@ -4385,7 +4385,7 @@ load_torrc_from_disk(int argc, char **argv, int defaults_file)
|
||||
char *cf = NULL;
|
||||
int using_default_torrc = 1;
|
||||
int ignore_missing_torrc = 0;
|
||||
char **fname_var = defaults_file ? &torrc_fname : &torrc_defaults_fname;
|
||||
char **fname_var = defaults_file ? &torrc_defaults_fname : &torrc_fname;
|
||||
|
||||
fname = find_torrc_filename(argc, argv, defaults_file,
|
||||
&using_default_torrc, &ignore_missing_torrc);
|
||||
|
Loading…
Reference in New Issue
Block a user