summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.c b/main.c
index 2c42536..55e07e2 100644
--- a/main.c
+++ b/main.c
@@ -15,13 +15,13 @@
int main(int argc, char *argv[]) {
int ret = EXIT_FAILURE;
- struct cmdline *cl = parse_cmdline(argc, argv);
- if (cl) {
- if (eval_cmdline(cl) == 0) {
+ struct cmdline *cmdline = parse_cmdline(argc, argv);
+ if (cmdline) {
+ if (eval_cmdline(cmdline) == 0) {
ret = EXIT_SUCCESS;
}
}
- free_cmdline(cl);
+ free_cmdline(cmdline);
return ret;
}