#include <unistd.h>
#include "cmd.h"
-#include "config.h"
+#include "conf.h"
#include "utils.h"
static char *opt_session_name;
goto free_name;
}
- path = get_config_file_path();
+ path = config_get_default_path();
if (path == NULL) {
ret = CMD_FATAL;
goto free_name;
MSG("Session %s destroyed", session_name);
}
- free(path);
ret = CMD_SUCCESS;
free_name: