blob: 05d5546e674e78958a0545054987ca1a56e7892c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
diff --git a/src/common.c b/src/common.c
index 1da1c45..fb68ada 100644
--- a/src/common.c
+++ b/src/common.c
@@ -113,13 +113,13 @@ char *get_config_path(char* default_path, char* pbuf, size_t bufsize) {
if(check_path(path))
goto have;
- // priority 4: $SYSCONFDIR/proxychains.conf
- path = SYSCONFDIR "/" PROXYCHAINS_CONF_FILE;
+ // priority 4: /etc/proxychains.conf
+ path = "/etc/" PROXYCHAINS_CONF_FILE;
if(check_path(path))
goto have;
- // priority 5: /etc/proxychains.conf
- path = "/etc/" PROXYCHAINS_CONF_FILE;
+ // priority 5: $SYSCONFDIR/proxychains.conf
+ path = SYSCONFDIR "/" PROXYCHAINS_CONF_FILE;
if(check_path(path))
goto have;
--
2.37.2
|