From 3bb0b451f78d13b4624e52b726f51e4847a84a2f 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index eb3b404..d328f52 100644 --- a/conf.c +++ b/conf.c @@ -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 1.4.1