From f4e4c8c2b19b8bc5a929321e83ed776aa044ef2d Mon Sep 17 00:00:00 2001 From: rofl0r Date: Sun, 29 Jan 2012 02:34:04 +0100 Subject: [PATCH] remove unnecessary sprintf call --- src/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 9334006..6f3c0f0 100644 --- a/src/main.c +++ b/src/main.c @@ -122,8 +122,7 @@ int main(int argc, char *argv[]) { goto have; // priority 4: $INSTALL_PREFIX/etc/proxychains.conf - snprintf(pbuf, sizeof(pbuf), "%s/etc/%s", INSTALL_PREFIX, PROXYCHAINS_CONF_FILE); - path = pbuf; + path = INSTALL_PREFIX "/etc/" PROXYCHAINS_CONF_FILE; if(check_path(path)) goto have;