lib:audit_logging: Use C99 initializer for server_id in audit_logging
authorAndreas Schneider <asn@samba.org>
Mon, 14 Jan 2019 12:24:24 +0000 (13:24 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 29 Apr 2019 16:04:28 +0000 (16:04 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/audit_logging/audit_logging.c

index 6944da7f872ff34c9af5a2412f4faff5c9da5cdb..7d9c3b838b54a96adc1cb3045a92df5adcebb295 100644 (file)
@@ -229,7 +229,9 @@ void audit_message_send(
        uint32_t message_type,
        struct json_object *message)
 {
-       struct server_id event_server = {};
+       struct server_id event_server = {
+               .pid = 0,
+       };
        NTSTATUS status;
 
        const char *message_string = NULL;