summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-14 02:26:18 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-14 02:26:18 +0200
commit1f3e4f39c5219b8ca3564e0c2eb685d9e7fdb13e (patch)
treedc2074d60a5f0cf1eca3236e02a95782613b1533 /source3/printing
parent7e5bbe806958ea8176e4c8494e3b3f79570635da (diff)
downloadsamba-1f3e4f39c5219b8ca3564e0c2eb685d9e7fdb13e.tar.gz
samba-1f3e4f39c5219b8ca3564e0c2eb685d9e7fdb13e.tar.bz2
samba-1f3e4f39c5219b8ca3564e0c2eb685d9e7fdb13e.zip
Use GUID_string rather than smb_uuid_string().
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/nt_printing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 85f42feb91..d549fa81b0 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -3221,7 +3221,7 @@ static void store_printer_guid(NT_PRINTER_INFO_LEVEL_2 *info2,
ZERO_STRUCT( unistr_guid );
- init_unistr2( &unistr_guid, smb_uuid_string(talloc_tos(), guid),
+ init_unistr2( &unistr_guid, GUID_string(talloc_tos(), &guid),
UNI_STR_TERMINATE );
regval_ctr_addvalue(ctr, "objectGUID", REG_SZ,
@@ -3841,7 +3841,7 @@ 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(talloc_tos(), guid),
+ GUID_string(talloc_tos(), &guid),
UNI_STR_TERMINATE );
regval_ctr_addvalue( printer_data->keys[key_index].values,