]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
net_ads: Fix indentation in net_ads_cldap_netlogon_json
authorVolker Lendecke <vl@samba.org>
Thu, 24 Oct 2024 09:51:41 +0000 (11:51 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 25 Oct 2024 07:55:34 +0000 (07:55 +0000)
This was not easy to read

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/utils/net_ads.c

index 0e5da492faf299947b5ae600097e3b5c9b5f0b3f..a7a9550935473dda6fa8b3118e96097e6172900a 100644 (file)
@@ -120,12 +120,15 @@ static int net_ads_cldap_netlogon_json
                                sizeof(response_type));
                        break;
                case LOGON_SAM_LOGON_RESPONSE_EX:
-                       strncpy(response_type, "LOGON_SAM_LOGON_RESPONSE_EX",
-             sizeof(response_type));
+                       strncpy(response_type,
+                               "LOGON_SAM_LOGON_RESPONSE_EX",
+                               sizeof(response_type));
                        break;
                default:
-                       snprintf(response_type, sizeof(response_type), "0x%x",
-              reply->command);
+                       snprintf(response_type,
+                                sizeof(response_type),
+                                "0x%x",
+                                reply->command);
                        break;
        }