From 15179852ea9d5b7427589a658f42ce7243b4d1fd Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 13 Sep 2011 21:48:58 +0200 Subject: s3:net_time: make use of cli_state_server_time_zone() and cli_state_server_time() metze --- source3/utils/net_time.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/utils/net_time.c b/source3/utils/net_time.c index 6fc3f96f65..c8d08085ae 100644 --- a/source3/utils/net_time.c +++ b/source3/utils/net_time.c @@ -47,8 +47,8 @@ static time_t cli_servertime(const char *host, goto done; } - ret = cli->servertime; - if (zone) *zone = cli->serverzone; + ret = cli_state_server_time(cli); + if (zone) *zone = cli_state_server_time_zone(cli); done: if (cli) { -- cgit