git.samba.org
/
timbeale
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d24c9d5
)
lib:audit_logging: Use C99 initializer for server_id in audit_logging
author
Andreas Schneider
<asn@samba.org>
Mon, 14 Jan 2019 12:24:24 +0000
(13:24 +0100)
committer
Andreas 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
patch
|
blob
|
history
diff --git
a/lib/audit_logging/audit_logging.c
b/lib/audit_logging/audit_logging.c
index 6944da7f872ff34c9af5a2412f4faff5c9da5cdb..7d9c3b838b54a96adc1cb3045a92df5adcebb295 100644
(file)
--- a/
lib/audit_logging/audit_logging.c
+++ b/
lib/audit_logging/audit_logging.c
@@
-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;