diff options
author | Volker Lendecke <vl@sernet.de> | 2007-11-25 10:10:52 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2007-11-27 14:18:47 +0100 |
commit | 1011b32678c7b32472a909b9f515698947d2a389 (patch) | |
tree | dd81c00e9cbb967cad2bc725f7a0754851b1764e /source3/printing | |
parent | 80c2446321c519797a57b8006942a983f8481d79 (diff) | |
download | samba-1011b32678c7b32472a909b9f515698947d2a389.tar.gz samba-1011b32678c7b32472a909b9f515698947d2a389.tar.bz2 samba-1011b32678c7b32472a909b9f515698947d2a389.zip |
Remove some statics
(This used to be commit 1fab16ffb888cd4ec18e52d9da33976a67a5d104)
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/nt_printing.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index bbe312ca27..c55f9f1f91 100644 --- a/source3/printing/nt_printing.c +++ b/source3/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, |