diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/serverid.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/serverid.c b/source3/lib/serverid.c index 5523eca690..6adad7e6dd 100644 --- a/source3/lib/serverid.c +++ b/source3/lib/serverid.c @@ -157,6 +157,8 @@ bool serverid_register_msg_flags(const struct server_id id, bool do_reg, data->msg_flags &= ~msg_flags; } + ZERO_STRUCT(tdbdata); + status = rec->store(rec, tdbdata, 0); if (!NT_STATUS_IS_OK(status)) { DEBUG(1, ("Storing serverid.tdb record failed: %s\n", |