From d7ebee964050f19d2d345528099fb1dca2550155 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 16 Apr 2015 15:47:31 +1000 Subject: [PATCH] Style police --- lrzip.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lrzip.c b/lrzip.c index 0cfcf27..95e99a9 100644 --- a/lrzip.c +++ b/lrzip.c @@ -1276,13 +1276,13 @@ bool initialise_control(rzip_control *control) } size_t len = strlen(eptr); - control->tmpdir = malloc(len+2); + control->tmpdir = malloc(len + 2); if (control->tmpdir == NULL) fatal_return(("Failed to allocate for tmpdir\n"), false); strcpy(control->tmpdir, eptr); - if (control->tmpdir[len-1] != '/') { + if (control->tmpdir[len - 1] != '/') { control->tmpdir[len] = '/'; /* need a trailing slash */ - control->tmpdir[len+1] = '\0'; + control->tmpdir[len + 1] = '\0'; } return true; }