diff options
author | Volker Lendecke <vl@sernet.de> | 2007-11-24 17:27:54 +0100 |
---|---|---|
committer | Volker Lendecke <vl@sernet.de> | 2007-12-05 14:39:07 +0100 |
commit | 78c6ee0090f4122bc25baaacb5546517ad4b7bc6 (patch) | |
tree | 7b45cf85ff927e70552782b65bd73e50a637195f /source3/rpc_server | |
parent | 66af0700396a5a5245aa25c95d70a620025b29c9 (diff) | |
download | samba-78c6ee0090f4122bc25baaacb5546517ad4b7bc6.tar.gz samba-78c6ee0090f4122bc25baaacb5546517ad4b7bc6.tar.bz2 samba-78c6ee0090f4122bc25baaacb5546517ad4b7bc6.zip |
Remove some globals
(This used to be commit 31d0a846db08d845e6cdfd85def4ac1c34031e02)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_wkssvc_nt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_wkssvc_nt.c b/source3/rpc_server/srv_wkssvc_nt.c index 70cf80c20a..1e43b5ae99 100644 --- a/source3/rpc_server/srv_wkssvc_nt.c +++ b/source3/rpc_server/srv_wkssvc_nt.c @@ -36,10 +36,10 @@ static void create_wks_info_100(struct wkssvc_NetWkstaInfo100 *info100) info100->version_major = lp_major_announce_version(); info100->version_minor = lp_minor_announce_version(); - info100->server_name = talloc_strdup( - info100, strupper_static(global_myname())); - info100->domain_name = talloc_strdup( - info100, strupper_static(lp_workgroup())); + info100->server_name = talloc_asprintf_strupper_m( + info100, "%s", global_myname()); + info100->domain_name = talloc_asprintf_strupper_m( + info100, "%s", lp_workgroup()); return; } |