summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-14 02:33:41 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-14 02:33:41 +0200
commita62c510d8b3f5e15bd48f71747c5f516eca570c7 (patch)
treeb80c82891626c83a0c86dfb52ae6c7050f28f97f /source3/printing
parent1f3e4f39c5219b8ca3564e0c2eb685d9e7fdb13e (diff)
downloadsamba-a62c510d8b3f5e15bd48f71747c5f516eca570c7.tar.gz
samba-a62c510d8b3f5e15bd48f71747c5f516eca570c7.tar.bz2
samba-a62c510d8b3f5e15bd48f71747c5f516eca570c7.zip
Use GUID_from_string.
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/nt_printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index d549fa81b0..c0e62eac19 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -3536,7 +3536,7 @@ bool is_printer_published(Printer_entry *print_hnd, int snum,
case REG_SZ:
rpcstr_pull( guid_str, regval_data_p(guid_val),
sizeof(guid_str)-1, -1, STR_TERMINATE );
- ret = smb_string_to_uuid( guid_str, guid );
+ ret = NT_STATUS_IS_OK(GUID_from_string( guid_str, guid ));
break;
case REG_BINARY:
if ( regval_size(guid_val) != sizeof(struct GUID) ) {