diff options
author | oga | 2008-05-19 18:53:09 +0000 |
---|---|---|
committer | oga | 2008-05-19 18:53:09 +0000 |
commit | 073225cc6903924869d463a1014860a78f73b008 (patch) | |
tree | 3b64cce13e14f96257665863da0cc0d5904c5a75 /conf.c | |
parent | 49f3193bd3ecb3b5e447f9c0b2318069d5945887 (diff) | |
download | cwm-073225cc6903924869d463a1014860a78f73b008.tar.gz |
General cleanup.
ok okan@.
Diffstat (limited to '')
-rw-r--r-- | conf.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); |