mirror of
https://github.com/rofl0r/proxychains-ng.git
synced 2025-09-01 21:26:59 +00:00
common.c: fix trailing whitespace
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user