]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbstatus: fix indentation in profile_separator()
authorRalph Boehme <slow@samba.org>
Thu, 4 Aug 2022 16:43:05 +0000 (18:43 +0200)
committerJule Anger <janger@samba.org>
Mon, 8 Aug 2022 12:56:29 +0000 (12:56 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jule Anger <janger@samba.org>
source3/utils/status_profile.c

index 829e84cef1c22bb2c0db3de9a610b13e38d0b4a8..b3428a8c61892923e918bdfe9493677b6e078de3 100644 (file)
 
 static void profile_separator(const char * title)
 {
-    char line[79 + 1];
-    char * end;
+       char line[79 + 1];
+       char * end;
 
-    snprintf(line, sizeof(line), "**** %s ", title);
+       snprintf(line, sizeof(line), "**** %s ", title);
 
-    for (end = line + strlen(line); end < &line[sizeof(line) -1]; ++end) {
-           *end = '*';
-    }
+       for (end = line + strlen(line); end < &line[sizeof(line) -1]; ++end) {
+               *end = '*';
+       }
 
-    line[sizeof(line) - 1] = '\0';
-    d_printf("%s\n", line);
+       line[sizeof(line) - 1] = '\0';
+       d_printf("%s\n", line);
 }
 
 /*******************************************************************