remove unnecessary sprintf call

This commit is contained in:
rofl0r 2012-01-29 02:34:04 +01:00
parent dbb172b510
commit f4e4c8c2b1

View File

@ -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;