diff options
author | Tim Potter <tpot@samba.org> | 2003-04-28 05:40:46 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-04-28 05:40:46 +0000 |
commit | 29ac5d287314160e9b1ab92bf61a1c4b74767d95 (patch) | |
tree | 88f495a3cb540dd10e4c5cf45931e22ce273175e /source3/lib/util_sid.c | |
parent | 39fbda7f036fa615ac46a7c9729e1f420972208b (diff) | |
download | samba-29ac5d287314160e9b1ab92bf61a1c4b74767d95.tar.gz samba-29ac5d287314160e9b1ab92bf61a1c4b74767d95.tar.bz2 samba-29ac5d287314160e9b1ab92bf61a1c4b74767d95.zip |
Two character tabs - I don't think so.
(This used to be commit 40d370bec6ef14cfa85e75cdb2f9122110ae9f1d)
Diffstat (limited to 'source3/lib/util_sid.c')
-rw-r--r-- | source3/lib/util_sid.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c index dfd3b312e0..9dc0c8ca18 100644 --- a/source3/lib/util_sid.c +++ b/source3/lib/util_sid.c @@ -637,14 +637,13 @@ void print_guid(GUID *guid) DOM_SID *sid_dup_talloc(TALLOC_CTX *ctx, DOM_SID *src) { - DOM_SID *dst; - - if(!src) - return NULL; - - if((dst = talloc_zero(ctx, sizeof(DOM_SID))) != NULL) { - sid_copy( dst, src); - } - - return dst; + DOM_SID *dst; + + if(!src) + return NULL; + + if((dst = talloc_zero(ctx, sizeof(DOM_SID))) != NULL) + sid_copy( dst, src); + + return dst; } |