diff options
author | Günther Deschner <gd@samba.org> | 2007-12-21 15:12:40 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2007-12-21 15:12:40 +0100 |
commit | 8ded1df76739363259edce0515b097510e342595 (patch) | |
tree | 68a6a028e46481aff42718b4d5548adfbb7a88c7 /source3/winbindd/winbindd_cm.c | |
parent | 574354a7ec76e85e0f5a1172de9e59ae5bc52d48 (diff) | |
download | samba-8ded1df76739363259edce0515b097510e342595.tar.gz samba-8ded1df76739363259edce0515b097510e342595.tar.bz2 samba-8ded1df76739363259edce0515b097510e342595.zip |
Kill fstring in getdcname & getanydcname return.
Guenther
(This used to be commit b7383818168863a7ba43c2456f8c44e96e76707a)
Diffstat (limited to 'source3/winbindd/winbindd_cm.c')
-rw-r--r-- | source3/winbindd/winbindd_cm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index 8ea815535f..7fb42a6dca 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -570,7 +570,7 @@ static bool get_dc_name_via_netlogon(const struct winbindd_domain *domain, WERROR werr; TALLOC_CTX *mem_ctx; unsigned int orig_timeout; - fstring tmp; + char *tmp = NULL; char *p; /* Hmmmm. We can only open one connection to the NETLOGON pipe at the @@ -602,7 +602,7 @@ static bool get_dc_name_via_netlogon(const struct winbindd_domain *domain, orig_timeout = cli_set_timeout(netlogon_pipe->cli, 35000); werr = rpccli_netlogon_getanydcname(netlogon_pipe, mem_ctx, our_domain->dcname, - domain->name, tmp); + domain->name, &tmp); /* And restore our original timeout. */ cli_set_timeout(netlogon_pipe->cli, orig_timeout); |