]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
lib/sssd.c: Style fixes
authorAlejandro Colomar <alx@kernel.org>
Sat, 18 May 2024 21:45:46 +0000 (23:45 +0200)
committerSerge Hallyn <serge@hallyn.com>
Wed, 3 Jul 2024 15:03:12 +0000 (10:03 -0500)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/sssd.c

index 0a92144bc5662a3007db7b6e5e5faa783586433f..4db799543bd640dfec65af091e84830ca95e80c4 100644 (file)
 
 #include "shadowlog_internal.h"
 
+
 #define MSG_SSSD_FLUSH_CACHE_FAILED "%s: Failed to flush the sssd cache."
 
-int sssd_flush_cache (int dbflags)
+
+int
+sssd_flush_cache(int dbflags)
 {
-       int status, code, rv;
-       const char *cmd = "/usr/sbin/sss_cache";
-       struct stat sb;
-       char *sss_cache_args = NULL;
-       const char *spawnedArgs[] = {"sss_cache", NULL, NULL};
-       const char *spawnedEnv[] = {NULL};
-       int i = 0;
+       int          status, code, rv;
+       int          i = 0;
+       char         *sss_cache_args = NULL;
+       const char   *cmd = "/usr/sbin/sss_cache";
+       const char   *spawnedArgs[] = {"sss_cache", NULL, NULL};
+       const char   *spawnedEnv[] = {NULL};
+       struct stat  sb;
 
        rv = stat(cmd, &sb);
        if (rv == -1 && errno == ENOENT)