From 073225cc6903924869d463a1014860a78f73b008 Mon Sep 17 00:00:00 2001 From: oga Date: Mon, 19 May 2008 18:53:09 +0000 Subject: General cleanup. ok okan@. --- conf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index 35f3577..7cd5d2b 100644 --- a/conf.c +++ b/conf.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: conf.c,v 1.34 2008/05/19 17:11:19 okan Exp $ + * $Id: conf.c,v 1.35 2008/05/19 18:53:09 oga Exp $ */ #include "headers.h" @@ -157,9 +157,9 @@ conf_init(struct conf *c) } void -conf_setup(struct conf *c, const char *conffile) +conf_setup(struct conf *c, const char *conf_file) { - if (conffile == NULL) { + if (conf_file == NULL) { char *home = getenv("HOME"); if (home == NULL) @@ -168,7 +168,7 @@ conf_setup(struct conf *c, const char *conffile) snprintf(c->conf_path, sizeof(c->conf_path), "%s/%s", home, CONFFILE); } else - snprintf(c->conf_path, sizeof(c->conf_path), "%s", conffile); + snprintf(c->conf_path, sizeof(c->conf_path), "%s", conf_file); conf_init(c); -- cgit v1.2.3-2-gb3c3