summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libnet/libnet_time.c')
-rw-r--r--source4/libnet/libnet_time.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libnet/libnet_time.c b/source4/libnet/libnet_time.c
index 61a451d3fd..37648459db 100644
--- a/source4/libnet/libnet_time.c
+++ b/source4/libnet/libnet_time.c
@@ -33,6 +33,8 @@ static NTSTATUS libnet_RemoteTOD_srvsvc(struct libnet_context *ctx, TALLOC_CTX *
struct srvsvc_NetRemoteTODInfo *info = NULL;
struct tm tm;
+ ZERO_STRUCT(c);
+
/* prepare connect to the SRVSVC pipe of a timeserver */
c.level = LIBNET_RPC_CONNECT_SERVER;
c.in.name = r->srvsvc.in.server_name;