summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-13 21:48:58 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-13 21:53:08 +0200
commit15179852ea9d5b7427589a658f42ce7243b4d1fd (patch)
tree4b758e705710727e2ea82a9bec545665b389ae75 /source3
parent7ba2bc35a3bb40260347cf6001aab1726a7cde6e (diff)
downloadsamba-15179852ea9d5b7427589a658f42ce7243b4d1fd.tar.gz
samba-15179852ea9d5b7427589a658f42ce7243b4d1fd.tar.bz2
samba-15179852ea9d5b7427589a658f42ce7243b4d1fd.zip
s3:net_time: make use of cli_state_server_time_zone() and cli_state_server_time()
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_time.c4
1 files 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) {