diff options
author | Volker Lendecke <vl@samba.org> | 2007-12-15 21:06:20 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2007-12-15 22:09:35 +0100 |
commit | f498f661bcd6f2d97d55aa275dcd1eb2cbcda8a4 (patch) | |
tree | 1edff490861841796c8f64d25d120ee5302114f5 | |
parent | db98b921449d8f3d766e5ae2696125d718054a15 (diff) | |
download | samba-f498f661bcd6f2d97d55aa275dcd1eb2cbcda8a4.tar.gz samba-f498f661bcd6f2d97d55aa275dcd1eb2cbcda8a4.tar.bz2 samba-f498f661bcd6f2d97d55aa275dcd1eb2cbcda8a4.zip |
Add sid_string_dbg
This makes use of the just added debug_ctx and will kill many
sid_string_static() calls
(This used to be commit 3e4148c280efe154c3f8d552731c8b29d6977507)
-rw-r--r-- | source3/lib/util_sid.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c index fcbbbb44d9..344784aee2 100644 --- a/source3/lib/util_sid.c +++ b/source3/lib/util_sid.c @@ -223,6 +223,11 @@ char *sid_string_talloc(TALLOC_CTX *mem_ctx, const DOM_SID *sid) return result; } +char *sid_string_dbg(const DOM_SID *sid) +{ + return sid_string_talloc(debug_ctx(), sid); +} + char *sid_string_tos(const DOM_SID *sid) { return sid_string_talloc(talloc_tos(), sid); |