diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-12-27 16:22:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:47:48 -0500 |
commit | d658de65d32e6746ac51aeb4da7aa74b3da40c2b (patch) | |
tree | 3057af6864b3eb0b26d523aa4c100213380551f5 /source4/utils | |
parent | 8270e1e31071d23915cc3aa408ad6c7074ea1c11 (diff) | |
download | samba-d658de65d32e6746ac51aeb4da7aa74b3da40c2b.tar.gz samba-d658de65d32e6746ac51aeb4da7aa74b3da40c2b.tar.bz2 samba-d658de65d32e6746ac51aeb4da7aa74b3da40c2b.zip |
r12512: Use GUID structs in API functions everywhere rather then converting back and
forth between GUID structs and strings in several places.
(This used to be commit 3564e2f967ef72d6301b4f7e9a311cebcded4d75)
Diffstat (limited to 'source4/utils')
-rw-r--r-- | source4/utils/ndrdump.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/utils/ndrdump.c b/source4/utils/ndrdump.c index 611283ee69..abc6d95fb4 100644 --- a/source4/utils/ndrdump.c +++ b/source4/utils/ndrdump.c @@ -148,8 +148,13 @@ static char *stdin_load(TALLOC_CTX *mem_ctx, size_t *size) p = idl_iface_by_name(pipe_name); if (!p) { + struct GUID uuid; - p = idl_iface_by_uuid(pipe_name); + status = GUID_from_string(pipe_name, &uuid); + + if (NT_STATUS_IS_OK(status)) { + p = idl_iface_by_uuid(&uuid); + } if (!p) { printf("Unknown pipe or UUID '%s'\n", pipe_name); |