git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f50848
)
audit_logging: Initialise event_server
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 25 Jun 2018 02:52:19 +0000
(14:52 +1200)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 26 Jun 2018 01:27:20 +0000
(
03:27
+0200)
It is better if this is a known zero value to start, even if we check the errors
correctly.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
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 3a27eb6105f8c89044b075379b39c1a7d57d7669..dda350cd14406b8a5b90915c3738a562284547a1 100644
(file)
--- a/
lib/audit_logging/audit_logging.c
+++ b/
lib/audit_logging/audit_logging.c
@@
-230,7
+230,7
@@
void audit_message_send(
uint32_t message_type,
struct json_object *message)
{
- struct server_id event_server;
+ struct server_id event_server
= {}
;
NTSTATUS status;
const char *message_string = NULL;