From: Ralph Boehme Date: Thu, 4 Aug 2022 16:43:05 +0000 (+0200) Subject: smbstatus: fix indentation in profile_separator() X-Git-Tag: samba-4.17.0rc1~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0ed54cc6078a99553588cfe69d4f7b47b6e0a293;p=thirdparty%2Fsamba.git smbstatus: fix indentation in profile_separator() Signed-off-by: Ralph Boehme Reviewed-by: Jule Anger --- diff --git a/source3/utils/status_profile.c b/source3/utils/status_profile.c index 829e84cef1c..b3428a8c618 100644 --- a/source3/utils/status_profile.c +++ b/source3/utils/status_profile.c @@ -24,17 +24,17 @@ 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); } /*******************************************************************