summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2007-11-25 10:10:52 +0100
committerGünther Deschner <gd@samba.org>2007-11-27 14:18:47 +0100
commit1011b32678c7b32472a909b9f515698947d2a389 (patch)
treedd81c00e9cbb967cad2bc725f7a0754851b1764e /source3/rpc_server
parent80c2446321c519797a57b8006942a983f8481d79 (diff)
downloadsamba-1011b32678c7b32472a909b9f515698947d2a389.tar.gz
samba-1011b32678c7b32472a909b9f515698947d2a389.tar.bz2
samba-1011b32678c7b32472a909b9f515698947d2a389.zip
Remove some statics
(This used to be commit 1fab16ffb888cd4ec18e52d9da33976a67a5d104)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index fe7a12940e..d49731272f 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -4376,7 +4376,8 @@ static bool construct_printer_info_7(Printer_entry *print_hnd, PRINTER_INFO_7 *p
struct GUID guid;
if (is_printer_published(print_hnd, snum, &guid)) {
- asprintf(&guid_str, "{%s}", smb_uuid_string_static(guid));
+ asprintf(&guid_str, "{%s}",
+ smb_uuid_string(talloc_tos(), guid));
strupper_m(guid_str);
init_unistr(&printer->guid, guid_str);
printer->action = SPOOL_DS_PUBLISH;