summaryrefslogtreecommitdiffstats
path: root/source/printing
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
commit1fab16ffb888cd4ec18e52d9da33976a67a5d104 (patch)
tree0220682613a5546902e7c942ffc5425c6bcf8333 /source/printing
parent331c0d6216e1a1607a49ed7eb4078e10138ec16a (diff)
downloadsamba-1fab16ffb888cd4ec18e52d9da33976a67a5d104.tar.gz
samba-1fab16ffb888cd4ec18e52d9da33976a67a5d104.tar.xz
samba-1fab16ffb888cd4ec18e52d9da33976a67a5d104.zip
Remove some statics
Diffstat (limited to 'source/printing')
-rw-r--r--source/printing/nt_printing.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/printing/nt_printing.c b/source/printing/nt_printing.c
index bbe312ca277..c55f9f1f915 100644
--- a/source/printing/nt_printing.c
+++ b/source/printing/nt_printing.c
@@ -3208,7 +3208,8 @@ static void store_printer_guid(NT_PRINTER_INFO_LEVEL_2 *info2,
Vista to whine */
ZERO_STRUCT( unistr_guid );
- init_unistr2( &unistr_guid, smb_uuid_string_static(guid),
+
+ init_unistr2( &unistr_guid, smb_uuid_string(talloc_tos(), guid),
UNI_STR_TERMINATE );
regval_ctr_addvalue(ctr, "objectGUID", REG_SZ,
@@ -3821,7 +3822,8 @@ static int unpack_values(NT_PRINTER_DATA *printer_data, const uint8 *buf, int bu
memcpy( &guid, data_p, sizeof(struct GUID) );
- init_unistr2( &unistr_guid, smb_uuid_string_static(guid),
+ init_unistr2( &unistr_guid,
+ smb_uuid_string(talloc_tos(), guid),
UNI_STR_TERMINATE );
regval_ctr_addvalue( printer_data->keys[key_index].values,