aboutsummaryrefslogtreecommitdiffstats
path: root/src/confparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/confparser.c')
-rw-r--r--src/confparser.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/confparser.c b/src/confparser.c
index ea9bb90..7f61037 100644
--- a/src/confparser.c
+++ b/src/confparser.c
@@ -19,8 +19,8 @@
const char * const CONFIG_NAME = "/ckrc";
void conf_values_initialize(Conf *c) {
- c->SCRT_dir = NULL;
- c->VC_dir = NULL;
+ c->scrt_dir = NULL;
+ c->vc_dir = NULL;
}
int remove_newline(char buff[]) {
@@ -128,11 +128,11 @@ int config_file_parse(Conf *conf, UserOpt *opt) {
}
void free_conf(Conf *conf) {
- if (conf->VC_dir) {
- free(conf->VC_dir);
+ if (conf->vc_dir) {
+ free(conf->vc_dir);
}
- if (conf->SCRT_dir) {
- free(conf->SCRT_dir);
+ if (conf->scrt_dir) {
+ free(conf->scrt_dir);
}
}