summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-12-06 11:10:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:23 -0500
commitc62615f2686a048bbb470801b146d589b17eece4 (patch)
tree2535e080f34cbfae60cbe975ce51d0d42a1278d7 /source4/libnet
parent690b352fc19cb5444b923c220af91f17a88a5e3c (diff)
downloadsamba-c62615f2686a048bbb470801b146d589b17eece4.tar.gz
samba-c62615f2686a048bbb470801b146d589b17eece4.tar.bz2
samba-c62615f2686a048bbb470801b146d589b17eece4.zip
r4075: implement RemoteTOD server function
metze (This used to be commit 0c6d4246a45f649e7373606f12db74c2acd0f538)
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_time.c b/source4/libnet/libnet_time.c
index b0d304ffcc..ddf26876b9 100644
--- a/source4/libnet/libnet_time.c
+++ b/source4/libnet/libnet_time.c
@@ -82,7 +82,7 @@ static NTSTATUS libnet_RemoteTOD_srvsvc(struct libnet_context *ctx, TALLOC_CTX *
tm.tm_isdst = -1;
r->srvsvc.out.time = timegm(&tm);
- r->srvsvc.out.time_zone = ((int32_t)tod.out.info->timezone) * 60;
+ r->srvsvc.out.time_zone = tod.out.info->timezone * 60;
goto disconnect;