summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-22 16:31:51 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-22 17:06:09 +0200
commit390b54554c9f7cad68ef96d705e7829f156eb74f (patch)
treeeeb301f2e474d558a7f6bb2ac3eda114fba0b396
parentad40515d1771212d856d790a61aed46048908130 (diff)
downloadsamba-390b54554c9f7cad68ef96d705e7829f156eb74f.tar.gz
samba-390b54554c9f7cad68ef96d705e7829f156eb74f.tar.bz2
samba-390b54554c9f7cad68ef96d705e7829f156eb74f.zip
s3:libsmb/clifsinfo: make use of cli_state_remote_name()
metze
-rw-r--r--source3/libsmb/clifsinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clifsinfo.c b/source3/libsmb/clifsinfo.c
index 02b2578892..b0a8fdd9fd 100644
--- a/source3/libsmb/clifsinfo.c
+++ b/source3/libsmb/clifsinfo.c
@@ -801,7 +801,7 @@ NTSTATUS cli_gss_smb_encryption_start(struct cli_state *cli)
return NT_STATUS_NO_MEMORY;
}
- name_to_fqdn(fqdn, cli->desthost);
+ name_to_fqdn(fqdn, cli_state_remote_name(cli));
strlower_m(fqdn);
servicename = "cifs";