summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_sid.c19
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;
}