From 96c920e166b40bbe50f216e294f2efac154a1cb2 Mon Sep 17 00:00:00 2001 From: Fred Barclay Date: Wed, 24 May 2017 14:13:52 -0500 Subject: Remove trailing whitespace from src/ --- src/faudit/files.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/faudit/files.c') diff --git a/src/faudit/files.c b/src/faudit/files.c index 46256f5f0..aa5b3aafb 100644 --- a/src/faudit/files.c +++ b/src/faudit/files.c @@ -26,7 +26,7 @@ static char *homedir = NULL; static void check_home_file(const char *name) { assert(homedir); - + char *fname; if (asprintf(&fname, "%s/%s", homedir, name) == -1) errExit("asprintf"); @@ -37,7 +37,7 @@ static void check_home_file(const char *name) { } else printf("GOOD: I cannot access files in %s directory.\n", fname); - + free(fname); } @@ -47,14 +47,14 @@ void files_test(void) { fprintf(stderr, "Error: cannot retrieve user account information\n"); return; } - + username = strdup(pw->pw_name); if (!username) errExit("strdup"); homedir = strdup(pw->pw_dir); if (!homedir) errExit("strdup"); - + // check access to .ssh directory check_home_file(".ssh"); @@ -66,10 +66,10 @@ void files_test(void) { // check access to Chromium browser directory check_home_file(".config/chromium"); - + // check access to Debian Icedove directory check_home_file(".icedove"); - + // check access to Thunderbird directory check_home_file(".thunderbird"); } -- cgit v1.2.3-54-g00ecf