mirror of
https://github.com/rofl0r/proxychains-ng.git
synced 2024-12-22 12:18:47 +00:00
remove unnecessary sprintf call
This commit is contained in:
parent
dbb172b510
commit
f4e4c8c2b1
@ -122,8 +122,7 @@ int main(int argc, char *argv[]) {
|
|||||||
goto have;
|
goto have;
|
||||||
|
|
||||||
// priority 4: $INSTALL_PREFIX/etc/proxychains.conf
|
// priority 4: $INSTALL_PREFIX/etc/proxychains.conf
|
||||||
snprintf(pbuf, sizeof(pbuf), "%s/etc/%s", INSTALL_PREFIX, PROXYCHAINS_CONF_FILE);
|
path = INSTALL_PREFIX "/etc/" PROXYCHAINS_CONF_FILE;
|
||||||
path = pbuf;
|
|
||||||
if(check_path(path))
|
if(check_path(path))
|
||||||
goto have;
|
goto have;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user