From 71aa08fcf437309462644eb77dc0abbd00a7f874 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Mon, 8 Jun 2020 22:58:16 +0200 Subject: Remove trailing whitespace errors from all files --- src/conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/conf.c') diff --git a/src/conf.c b/src/conf.c index db88e90..609d246 100644 --- a/src/conf.c +++ b/src/conf.c @@ -132,7 +132,7 @@ const char *config_get_config_dir() __config_dir = string_concat(base_config_dir, DIR_SEP_S, CONFIG_DIR, NULL); if (__config_dir) { - int i = strlen(__config_dir)-1; + int i = strlen(__config_dir)-1; while ((i > 0) && (__config_dir[i] == DIR_SEP)) { __config_dir[i--] = '\0'; } @@ -160,7 +160,7 @@ static int mkdir_with_parents(const char *dir, int mode) if (__mkdir(dir, mode) == 0) { return 0; } else { - if (errno == EEXIST) return 0; + if (errno == EEXIST) return 0; } int res; char *parent = strdup(dir); -- cgit v1.1-32-gdbae