aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authoroga2008-05-19 18:53:09 +0000
committeroga2008-05-19 18:53:09 +0000
commit073225cc6903924869d463a1014860a78f73b008 (patch)
tree3b64cce13e14f96257665863da0cc0d5904c5a75 /conf.c
parent49f3193bd3ecb3b5e447f9c0b2318069d5945887 (diff)
downloadcwm-073225cc6903924869d463a1014860a78f73b008.tar.gz
General cleanup.
ok okan@.
Diffstat (limited to '')
-rw-r--r--conf.c8
1 files changed, 4 insertions, 4 deletions
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);