summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {