diff options
author | Luk Claes <luk@debian.org> | 2012-05-19 18:50:27 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-05-28 14:49:48 +0200 |
commit | 1ff8c404a64ea583b8265441edfb78c3613134dd (patch) | |
tree | bee1c8929dd16017632d6754d4634f394b9121e5 /source3/utils | |
parent | 278ba9928ab0f36c933f3190aee136bbc964055a (diff) | |
download | samba-1ff8c404a64ea583b8265441edfb78c3613134dd.tar.gz samba-1ff8c404a64ea583b8265441edfb78c3613134dd.tar.bz2 samba-1ff8c404a64ea583b8265441edfb78c3613134dd.zip |
s3:libsmb: get rid of cli_state_server_time_zone
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_time.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_time.c b/source3/utils/net_time.c index 195144cbe0..979d29cf91 100644 --- a/source3/utils/net_time.c +++ b/source3/utils/net_time.c @@ -20,6 +20,7 @@ #include "utils/net.h" #include "libsmb/nmblib.h" #include "libsmb/libsmb.h" +#include "../libcli/smb/smbXcli_base.h" /* return the time on a server. This does not require any authentication @@ -48,7 +49,7 @@ static time_t cli_servertime(const char *host, } ret = cli_state_server_time(cli); - if (zone) *zone = cli_state_server_time_zone(cli); + if (zone) *zone = smb1cli_conn_server_time_zone(cli->conn); done: if (cli) { |