mirror of
https://github.com/rofl0r/proxychains-ng
synced 2025-01-08 22:22:52 +08:00
common.c: fix trailing whitespace
This commit is contained in:
parent
69abe128ca
commit
f669139c9e
@ -59,7 +59,7 @@ char *get_config_path(char* default_path, char* pbuf, size_t bufsize) {
|
|||||||
char *path = default_path;
|
char *path = default_path;
|
||||||
if(check_path(path))
|
if(check_path(path))
|
||||||
goto have;
|
goto have;
|
||||||
|
|
||||||
// priority 1: env var PROXYCHAINS_CONF_FILE
|
// priority 1: env var PROXYCHAINS_CONF_FILE
|
||||||
path = getenv(PROXYCHAINS_CONF_FILE_ENV_VAR);
|
path = getenv(PROXYCHAINS_CONF_FILE_ENV_VAR);
|
||||||
if(check_path(path))
|
if(check_path(path))
|
||||||
@ -88,10 +88,10 @@ char *get_config_path(char* default_path, char* pbuf, size_t bufsize) {
|
|||||||
path = "/etc/" PROXYCHAINS_CONF_FILE;
|
path = "/etc/" PROXYCHAINS_CONF_FILE;
|
||||||
if(check_path(path))
|
if(check_path(path))
|
||||||
goto have;
|
goto have;
|
||||||
|
|
||||||
perror("couldnt find configuration file");
|
perror("couldnt find configuration file");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
have:
|
have:
|
||||||
return path;
|
return path;
|
||||||
|
Loading…
Reference in New Issue
Block a user