summaryrefslogtreecommitdiff
path: root/src/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.c')
-rw-r--r--src/cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli.c b/src/cli.c
index b60454a..74adbb8 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -30,11 +30,11 @@
a trailing path delimiter. */
static void parse_output_path(const char *optarg, struct params *p) {
p->out_len = strlen(optarg);
- p->out = malloc(p->out_len + 2);
+ p->out = malloc(p->out_len + 2);
strcpy(p->out, optarg);
if (p->out[p->out_len - 1] != '/') {
p->out[p->out_len] = '/';
- p->out_len += 1;
+ p->out_len += 1;
}
}