General cleanup.

ok okan@.
This commit is contained in:
oga
2008-05-19 18:53:09 +00:00
parent 53116c4ec3
commit 3bb0b451f7
3 changed files with 19 additions and 19 deletions

6
conf.c
View File

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